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