Skip to content

Commit

Permalink
Merge branch 'lahiruroot:master' into buddhima
Browse files Browse the repository at this point in the history
  • Loading branch information
buddhimac111 authored Oct 19, 2022
2 parents 15135b6 + 90963f6 commit 0ab22f0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pythonSquare
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Python Program to calculate the square root

num = float(input('Enter a number: '))

num_sqrt = num ** 0.5
print('The square root of %0.3f is %0.3f'%(num ,num_sqrt))

0 comments on commit 0ab22f0

Please sign in to comment.