consider the real madrid team footboll players. In order for them to start the match they need to be put in queue.Write a program in python that inserts the footboll players (Ramos,Benzema,Kroos,Modric)into a queue. Remove the football players from the queue using the FIFO algorithm.
Answers
Answered by
0
my_list=[ ]
for x in range(4):
my_list.append(input("enter name"))
for x in range(4):
my_list.remove(my_list[x])
Similar questions