0
You're a boss if you can fix this!
from math import sqrt number = input(int()) print(sqrt(number)) why does it come back as no input?
2 Answers
+ 3
int(input())
Sweet. Get my Boss Badge now. Entire Code fixed -
from math import sqrt
number = int(input("Enter A Number - "))
print(sqrt(number))
+ 1
You need to define the input first then convert it to an integer. Also could make that a float in case you input a decimal.
number = float(input("Enter Number"))