Skip to content

Commit 4b11822

Browse files
Update reverse_letters.py
1 parent c9854e0 commit 4b11822

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

strings/reverse_letters.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
def reverse_letters(sentence: str, length: int = 0) -> str:
2-
"""Reverse all words longer than a given character length in a sentence.
3-
2+
"""
3+
Reverse all words that are longer than the given length of characters in a sentence.
44
If ``length`` is not specified, it defaults to 0.
55
66
>>> reverse_letters("Hey wollef sroirraw", 3)

0 commit comments

Comments
 (0)