runtime
All projects

Travel Listing & Booking Simulator

Check whether a stay is free on the dates someone asked for. The bookings are simulated.

The project

Simulated. These five rows are not a live booking site, and saving a stay only writes a SQLite file on this page. You'll describe a listing, check whether a room is open, refuse a stay that includes a closed day, and save the days that are actually free.

The steps

Your files

  • desk.py you write this
  • main.py you write this
  • stays.py already written
  • data/listings.csv 5 rows
Travel Listing & Booking Simulator — Python project · Runtime