i need to create an empty list and by asking the user to input one number every time to update the list.
up to now i have:
while True: if input("\n\n\nPlease enter a number to add it to the queue or press q to end the game: ") == 'q': break MyList = [] num = int(input("Please type a number: "))-the number will be added to the beginning of the queue if it has a 0, eg 01,02..But it will be added without the 0. otherwise at the end of the queue
-the user can remove an entry at the end of the queue by typing r. If the user types 0r then it will be removed from the beginning of the queue.
Some help please?