Page 1 of 1

3) What is the content of the resulting queue after running the following code? values = Queue() for i in range(1, 18):

Posted: Mon May 09, 2022 5:53 am
by answerhappygod
3) What is the content of the resulting queue after running the
following code?
values = Queue()
for i in range(1, 18):
if i % 3 == 0:
values.dequeue()
else:
values.enqueue(i)