python get pi value code example Example: python pi value #import pi function from math module from math import pi #Show pi value print(pi)