+ 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)

26th Feb 2025, 5:11 PM
Christian Francis
Christian Francis - avatar
2 Respostas
+ 3
Typo of the name of variable in line 9 and 12. It should be "queue" not "quene"
26th Feb 2025, 5:29 PM
Afnan Irtesum Chowdhury
Afnan Irtesum Chowdhury - avatar
+ 1
Thank you
26th Feb 2025, 5:41 PM
Christian Francis
Christian Francis - avatar