Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lists = input().split("|")
- new_list = []
- for number in lists[::-1]:
- new_list.append(number.split())
- for el in new_list:
- for ch in el:
- print(ch, end=" ")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement