+ 3

How do I find square root of a number in python

15th Apr 2021, 1:50 PM
shubha P
2 Antworten
+ 4
from math import sqrt print(sqrt(9)) or print(9**0.5)
15th Apr 2021, 1:50 PM
TOLUENE
TOLUENE - avatar
0
import math number = 2 print(math.sqrt(number))
15th Apr 2021, 4:27 PM
marc
marc - avatar