mirror of
https://hub.njuu.cf/TheAlgorithms/Python.git
synced 2023-10-11 13:06:12 +08:00
fixed typo for codespell (#5753)
This commit is contained in:
parent
dd19d8120d
commit
60ad32920d
@ -43,7 +43,7 @@ def is_pentagonal(n: int) -> bool:
|
||||
|
||||
def solution(start: int = 144) -> int:
|
||||
"""
|
||||
Returns the next number which is traingular, pentagonal and hexagonal.
|
||||
Returns the next number which is triangular, pentagonal and hexagonal.
|
||||
>>> solution(144)
|
||||
1533776805
|
||||
"""
|
||||
|
@ -32,7 +32,7 @@ def get_all_tweets(screen_name: str) -> None:
|
||||
while len(new_tweets) > 0:
|
||||
print(f"getting tweets before {oldest}")
|
||||
|
||||
# all subsiquent requests use the max_id param to prevent duplicates
|
||||
# all subsequent requests use the max_id param to prevent duplicates
|
||||
new_tweets = api.user_timeline(
|
||||
screen_name=screen_name, count=200, max_id=oldest
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user