Python math.pi Constant
The math.pi constant represents the mathematical constant π (pi).
Syntax
math.pi
Return Value
The value of π (approximately 3.14159).
Example
Output
Click Run to execute your code