From fb595631b7196202f5bbb1d4ea1228c88578362d Mon Sep 17 00:00:00 2001 From: jigneshoo7 <72193374+jigneshoo7@users.noreply.github.com> Date: Sun, 4 Oct 2020 11:37:34 +0530 Subject: [PATCH] Python Program to Find the Square Root --- Python Program to Find the Square Root | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Python Program to Find the Square Root diff --git a/Python Program to Find the Square Root b/Python Program to Find the Square Root new file mode 100644 index 0000000..19cecef --- /dev/null +++ b/Python Program to Find the Square Root @@ -0,0 +1,11 @@ +# Python Program to calculate the square root + +# Note: change this value for a different result +num = 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 %0.3f'%(num ,num_sqrt)) +Output