ZadanieDomowe/Lab2/zad6.py
2024-12-02 19:19:02 +01:00

9 lines
181 B
Python

queue = [1, 2, 3]
queue.append(4)
queue.append(5)
print(f"Queue after adding elements: {queue}")
queue.pop(0)
queue.pop(0)
print(f"Queue after removing elements: {queue}")