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
- Host: GitHub
- URL: https://github.com/thejasmeetsingh/parking-lot-tracker-cli
- Owner: thejasmeetsingh
- Created: 2023-11-09T08:00:32.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-11-09T08:04:38.000Z (about 2 years ago)
- Last Synced: 2025-01-21T17:30:18.709Z (12 months ago)
- Topics: python, python3
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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.