1. Learn
  2. /
  3. Courses
  4. /
  5. Data Structures and Algorithms in Python

Exercise

Using Python's SimpleQueue

In this exercise, you will work with Python's SimpleQueue(). You will create a queue called my_orders_queue to add the orders of a restaurant and remove them from it when required.

Instructions

100 XP
  • Create the queue.
  • Add an element to the queue.
  • Remove an element from the queue.