Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("The data clears once the program is reset")
- print('Enter "stop" to stop')
- b = list()
- c = None
- a = True
- while c != "stop":
- c = input("Enter:")
- b.append(c)
- else:
- b.remove("stop")
- print(b)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement