Skip to content

Commit 5d93c44

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent f990d1b commit 5d93c44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

strings/reverse_letters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def reverse_letters(sentence: str, length: int = 0) -> str:
1717

1818
if not isinstance(length, int) or length < 0:
1919
raise ValueError("length must be a non-negative integer")
20-
20+
2121
return " ".join(
2222
word[::-1] if len(word) > length else word for word in sentence.split()
2323
)

0 commit comments

Comments
 (0)