import math pi in python code example
Example: pi python
# import built in math module
import math
# Showing usage of pi function
print(math.pi)
# import built in math module
import math
# Showing usage of pi function
print(math.pi)