()
| 14 | e=q.pop(0) |
| 15 | print("element removed!!:",e) |
| 16 | def 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!!!") |