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