Advertisement
facedwarrior193

Basic data store in list(RAM)

Mar 2nd, 2022
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. print("The data clears once the program is reset")
  2. print('Enter "stop" to stop')
  3. b = list()
  4. c = None
  5. a = True
  6. while c != "stop":
  7.     c = input("Enter:")
  8.     b.append(c)
  9. else:
  10.     b.remove("stop")
  11. print(b)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement