Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
split + join solution in Clear category for Backward Each Word by Bernardo_Pereira
def backward_string_by_word(text: str) -> str:
from itertools import chain, cycle
txet = ' '
return txet.join(text[::-1].split(' ')[::-1])
Sept. 13, 2021