MCPcopy Index your code
hub / github.com/BeeBombshell/Python-DSA / dequeue

Function dequeue

DSA/Queue_using_list.py:10–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8 q.append(element)
9 print(element,"is added to the Queue!")
10def dequeue():
11 if not q:# or if len(stack)==0
12 print("Queue is Empty!!!")
13 else:
14 e=q.pop(0)
15 print("element removed!!:",e)
16def display():
17 print(q)
18 size=int(input("Enter the size of Queue:"))

Callers 1

displayFunction · 0.85

Calls 1

popMethod · 0.80

Tested by

no test coverage detected