diff --git a/test.py b/test.py new file mode 100644 index 0000000..6685d40 --- /dev/null +++ b/test.py @@ -0,0 +1,9 @@ +# Python Program to calculate the square root + +# Note: change this value for a different result = 8 + +# To take the input from the user +#num = float(input('Enter a number: ')) + +num_sqrt = num ** 0.5 +print('The square root of %0.3f is