Skip to content

Commit 60ad329

Browse files
authored
fixed typo for codespell (TheAlgorithms#5753)
1 parent dd19d81 commit 60ad329

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

project_euler/problem_045/sol1.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def is_pentagonal(n: int) -> bool:
4343

4444
def solution(start: int = 144) -> int:
4545
"""
46-
Returns the next number which is traingular, pentagonal and hexagonal.
46+
Returns the next number which is triangular, pentagonal and hexagonal.
4747
>>> solution(144)
4848
1533776805
4949
"""

web_programming/get_user_tweets.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def get_all_tweets(screen_name: str) -> None:
3232
while len(new_tweets) > 0:
3333
print(f"getting tweets before {oldest}")
3434

35-
# all subsiquent requests use the max_id param to prevent duplicates
35+
# all subsequent requests use the max_id param to prevent duplicates
3636
new_tweets = api.user_timeline(
3737
screen_name=screen_name, count=200, max_id=oldest
3838
)

0 commit comments

Comments
 (0)