SIGN IN SIGN UP

Refine docstring and simplify reverse_letters implementation (#14205)

* docs: refine docstring and simplify reverse_letters implementation

Updated the docstring for clarity and improved the logic for reversing words.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update reverse_letters.py

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Maxim Smolskiy <mithridatus@mail.ru>
T
Tithi Joshi committed
049a34d62be6abe5ce5dcef9b7c75580c6fd3e8f
Parent: 6f9f431
Committed by GitHub <noreply@github.com> on 3/9/2026, 4:30:39 AM