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