0

Square root in Python

11th May 2021, 10:16 AM
Zulaihat
3 Respuestas
0
Import math class and use sqrt function defined in it . import math print(math.sqrt(25))
11th May 2021, 10:23 AM
Abhay
Abhay - avatar
0
import math square = 9 print(math.sqrt(square))
11th May 2021, 10:30 AM
senz
senz - avatar
0
but for basics, math.sqrt is required so people wont be confused
11th May 2021, 10:46 AM
senz
senz - avatar