¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita0
Square root in Python
3 Respuestas
0
Import math class and use sqrt function defined in it .
import math
print(math.sqrt(25))
0
import math
square = 9
print(math.sqrt(square))
0
but for basics, math.sqrt is required so people wont be confused