mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 17:34:49 +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:
@ -23,7 +23,7 @@ The 12th term, F12, is the first term to contain three digits.
|
||||
What is the index of the first term in the Fibonacci sequence to contain 1000
|
||||
digits?
|
||||
"""
|
||||
from typing import Generator
|
||||
from collections.abc import Generator
|
||||
|
||||
|
||||
def fibonacci_generator() -> Generator[int, None, None]:
|
||||
|
Reference in New Issue
Block a user