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

Function display

DSA/Queue_using_list.py:16–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14 e=q.pop(0)
15 print("element removed!!:",e)
16def display():
17 print(q)
18 size=int(input("Enter the size of Queue:"))
19 while True:
20 print("Select the Operation:1.Add 2.Delete 3. Display 4. Quit")
21 choice=int(input())
22 if choice==1:
23 Enqueue()
24 elif choice==2:
25 dequeue()
26 elif choice==3:
27 display()
28 elif choice==4:
29 break
30 else:
31 print("Invalid Option!!!")

Callers

nothing calls this directly

Calls 2

EnqueueFunction · 0.85
dequeueFunction · 0.85

Tested by

no test coverage detected