+ 3
Help me. How to use input() for this code.
6 odpowiedzi
+ 6
import math
print(math.sqrt(int(input())))
+ 3
import math
variable = int(input())
print(math.sqrt(variable))
Review this lesson if you are still confused about the topic. Happy coding.
https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2426/
+ 3
Yes, You are correct.
+ 2
Yasara hasini. Nice concept, but you forgot to make the input an integer.
import math
print(math.sqrt(int(input())))
+ 1
def square:
return x*x
print(square(3))
Output:-
9