Browse Source

Update 'square_sqrt.py'

master
parsley 1 year ago
parent
commit
ee869d48ca
  1. 2
      square_sqrt.py

2
square_sqrt.py

@ -4,7 +4,7 @@ print("Squares and Square Roots")
print("")
def squared(num):
return num * num
return num**2
result = input("Enter a number you would like to square: ")
square = float(result)

Loading…
Cancel
Save