fork download
  1. sentence = input().split()
  2. print(sentence)
  3. for word in sentence:
  4. print(word[::-1])
Success #stdin #stdout 0.04s 9316KB
stdin
jhmlk vgvgvbg hgbvg
stdout
['jhmlk', 'vgvgvbg', 'hgbvg']
klmhj
gbvgvgv
gvbgh