simeonshopov

Reverse Strings

Mar 11th, 2020
352
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.11 KB | None | 0 0
  1. text = list(input())
  2.  
  3. new_text = ''
  4.  
  5. for x in range(len(text)):
  6.     new_text += text.pop()
  7.  
  8. print(new_text)
Advertisement
Add Comment
Please, Sign In to add comment