Как перевернуть каждое слово в строке text?
text = "Python is fun"
text = "Python is fun"
Anonymous Quiz
43%
" ".join(word[::-1] for word in text.split())
13%
text.split()[::-1]
21%
text[::-1]
18%
text.reverse()
6%
Посмотреть ответ