0
This program raises "math is not defined error" How do I fix this error?
from math import sqrt print(math.sqrt(25)) #error statement
3 odpowiedzi
+ 4
Or:
from math import sqrt as sqrt
print(sqrt(25))
+ 6
import math
x = math.isqrt(25)
print(x) # no error statement
+ 4
import math
print(math.sqrt(25))