5
1
u/dcolecpa Jun 14 '21
Looks like you imported the math module okay
1
u/OtherAd9058 Jun 15 '21 edited Jun 15 '21
Doesn’t the import have to be distinctively orange to be active. Like how when you use the print function it turn blue Edit Never-mind I see it now
3
2
21
u/[deleted] Jun 14 '21
You have a few choices. You have imported math, but to use pi you have to call it math.pi as it is the pi from the math package. Or if you really just want to say pi, your import should be
from math import pi