MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / pi_generator.py

File pi_generator.py

maths/pi_generator.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1def calculate_pi(limit: int) -> str:
2 """
3 https://en.wikipedia.org/wiki/Leibniz_formula_for_%CF%80
4 Leibniz Formula for Pi

Callers

nothing calls this directly

Calls 1

mainFunction · 0.70

Tested by

no test coverage detected