From 2a5d4e25f0e5a7cd4236aa9d01eb6c714f274bce Mon Sep 17 00:00:00 2001 From: Pranjal Singh Rathore <66887862+Pranjalsinghrathore63@users.noreply.github.com> Date: Wed, 7 Oct 2020 01:50:35 +0530 Subject: [PATCH] Python Program to Find the Square Root In this program, you'll check to find the square root of a number --- Python Program to Find the Square Root | 10 ++++++++++ 1 file changed, 10 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 00000000..dcb8251f --- /dev/null +++ b/Python Program to Find the Square Root @@ -0,0 +1,10 @@ +# 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))