Sofya_Soloveva_

Untitled

Jul 5th, 2019
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.11 KB | None | 0 0
  1. num = input()
  2. num = num[::-1]
  3. x3 = num[0]
  4. num = num[1:]
  5. num_finish = num + x3
  6. x = num_finish[::-1]
  7. print(x)
Advertisement
Add Comment
Please, Sign In to add comment