Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stack = list(input())
- while len(stack) > 0:
- element = stack.pop()
- print(element, end="")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement