+ 1
#solvedQuene management
queue = ['John', 'Amy', 'Bob', 'Adam'] #take an input name =input() #add the taken value to the end of the queue queue.append(name) #display the updated queue print(queue)
2 Antworten
+ 3
Typo of the name of variable in line 9 and 12. It should be "queue" not "quene"
+ 1
Thank you