Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ main
Function
main
maths/pi_generator.py:79–83 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
77
78
79
def
main() -> None:
80
print(f
"{calculate_pi(50) = }"
)
81
import
doctest
82
83
doctest.testmod()
84
85
86
if
__name__ ==
"__main__"
:
Callers
1
pi_generator.py
File · 0.70
Calls
1
calculate_pi
Function · 0.85
Tested by
no test coverage detected