MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / reverse_letters.py

File reverse_letters.py

strings/reverse_letters.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1def reverse_letters(sentence: str, length: int = 0) -> str:
2 """
3 Reverse all words that are longer than the given length of characters in a sentence.
4 If ``length`` is not specified, it defaults to 0.

Callers

nothing calls this directly

Calls 1

reverse_lettersFunction · 0.85

Tested by

no test coverage detected