mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-06 10:31:29 +08:00
Enable ruff RUF002 rule (#11377)
* Enable ruff RUF002 rule * Fix --------- Co-authored-by: Christian Clauss <cclauss@me.com>
This commit is contained in:
@ -5,7 +5,7 @@ from math import ceil, factorial
|
||||
def pi(precision: int) -> str:
|
||||
"""
|
||||
The Chudnovsky algorithm is a fast method for calculating the digits of PI,
|
||||
based on Ramanujan’s PI formulae.
|
||||
based on Ramanujan's PI formulae.
|
||||
|
||||
https://en.wikipedia.org/wiki/Chudnovsky_algorithm
|
||||
|
||||
|
Reference in New Issue
Block a user