From the course: Programming Foundations: Data Structures

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

GitHub Codespace challenge: Reservation waitlist

GitHub Codespace challenge: Reservation waitlist - Python Tutorial

From the course: Programming Foundations: Data Structures

GitHub Codespace challenge: Reservation waitlist

(upbeat music) - [Instructor] The next system you'll build is a reservation wait list for managing walkup customers at a restaurant. To handle this efficiently, you'll need to integrate a data structure that keeps track of customers in a first-come, first-serve order. Your system should allow adding guests to the wait list, seating the first guest when a spot opens, and viewing the entire wait list. Each guest should include a unique ID and their name to easily manage reservations. Like with our last project, the program lives in GitHub Codespaces. The UI is already implemented, so you shouldn't need to make any changes to the HTML or CSS. Instead, you should focus on integrating the data structure at hand within the app.py file. For each to-do comment in the file, you should write code that does the corresponding action. Feel free to explore the other files to get a better understanding of how the system works together as a whole. To run the application, use the python app.py…

Contents