+ 1

Why doesn't any math function work on this console? Or did I code it wrong?

Math module https://code.sololearn.com/cw4wj18NAX6S/?ref=app

6th Sep 2019, 9:30 PM
Joy
2 odpowiedzi
+ 1
import math from math import sqrt x = sqrt(25) pi = math.pi print(x) print(pi) I think you need to set it equal to a variable
6th Sep 2019, 9:33 PM
Ole113
Ole113 - avatar
0
Thanks. It worked!
6th Sep 2019, 9:35 PM
Joy