An open API service indexing awesome lists of open source software.

https://github.com/thejasmeetsingh/parking-lot-tracker-cli

A small parking lot CLI App
https://github.com/thejasmeetsingh/parking-lot-tracker-cli

python python3

Last synced: 10 months ago
JSON representation

A small parking lot CLI App

Awesome Lists containing this project

README

          

## Parking Lot Tracker

A small parking lot CLI app where it has **2 levels** A and B, each level has the capacity to park **20**
vehicles of any size. **Level A** has parking space numbered from **1-20** and **level B** has parking
space numbered from **21-40**. The system supports below-mentioned operations.

1. Automatically assign a parking space to a new vehicle.
2. Retrieve parking spot number of any particular vehicle(consider vehicle number as the unique identifier of the
vehicle.) output should return level and parking spot number eg:`{“level”: A, “spot”:19}`.

Start the program by running: `python main.py` or `python3 main.py` command.