Advertisements
Advertisements
Question
Look at the following code:
def x (firstQueue):
if not (isEmpty(firstQueue)):
return first Queue.pop (0)
else:
print ("Queue is empty")
What does x represent?
Options
peek() function
size() function
dequeue() function
isEmpty() function
MCQ
Advertisements
Solution
dequeue() function
shaalaa.com
Is there an error in this question or solution?
