हिंदी

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?

Advertisements
Advertisements

प्रश्न

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?

विकल्प

  • peek() function

  • size() function

  • dequeue() function

  • isEmpty() function

MCQ
Advertisements

उत्तर

dequeue() function

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×