mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 01:09:40 +08:00
pre-commit autoupdate: pyupgrade v2.34.0 -> v2.37.0 (#6245)
* pre-commit autoupdate: pyupgrade v2.34.0 -> v2.37.0 * pre-commit run --all-files
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
"""
|
||||
@author: MatteoRaso
|
||||
"""
|
||||
from collections.abc import Callable
|
||||
from math import pi, sqrt
|
||||
from random import uniform
|
||||
from statistics import mean
|
||||
from typing import Callable
|
||||
|
||||
|
||||
def pi_estimator(iterations: int):
|
||||
|
Reference in New Issue
Block a user