Nov-27-2017, 07:54 PM
A better way to enter a list is:
mylist = [ ] while True: item = raw_input("Enter a value, or type 'quit' to end: ") if item == 'quit': break mylist.append(item)don't use pythoh types as variable names, naming your list 'list' is a no no!