Languages
[Edit]
EN

Python - math.pi property example

0 points
Created by:
Admin Dirask Community
1270

The math.pi property returns π number (3.141592653589793...).

import math

print(math.pi)  # 3.141592653589793

 Documentation

Syntax
math.pi
Resultπ number (3.141592653589793...).
Description

PI constant returns the value of PI.

References

  1. Pi - Wikipedia

Python - math module

Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join