Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Backward Each Word by cybermalleus
def backward_string_by_word(text: str) -> str:
return ' '.join(word[::-1] for word in text.split(' '))
May 20, 2021