MCPcopy 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
79def main() -> None:
80 print(f"{calculate_pi(50) = }")
81 import doctest
82
83 doctest.testmod()
84
85
86if __name__ == "__main__":

Callers 1

pi_generator.pyFile · 0.70

Calls 1

calculate_piFunction · 0.85

Tested by

no test coverage detected