Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 3
- 2 1 3
- 3 2 1
- 1 3 2
- 2 1 3
- 3 2 1
- 1 3 2
- 2
- 1 2
- 1 2
- 2 1
- 2 1
- 0
- input_list = []
- while True:
- input_str = input("")
- if input_str == '0':
- break
- else:
- input_list.append(input_str)
- print(input_list)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement