mfgnik

Untitled

Apr 15th, 2020
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.11 KB | None | 0 0
  1. s = input().split('.')
  2. t = []
  3. for x in s:
  4.     t.append(' '.join(reversed(x.split())))
  5. print(*t, sep='. ')
Advertisement
Add Comment
Please, Sign In to add comment