0
How to import pie from maths ?
I have tried so many times but I always got error. Plz help
1 Réponse
+ 4
Pi?
You mean, 3.1415... ?
from math import pi
print(pi)
# 3.14159...
a = pi + 10
b = pi + 5
print(a-b)
# (3.14 + 10) - (3.14 + 5) = 5.0
I have tried so many times but I always got error. Plz help