From 9528279c8128e295a0e69ad3182d8fe854bd18c6 Mon Sep 17 00:00:00 2001 From: Pranjal Singh Rathore <66887862+Pranjalsinghrathore63@users.noreply.github.com> Date: Wed, 7 Oct 2020 01:48:33 +0530 Subject: [PATCH] Create Python Program to Find the Square Root python --- 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))