/parking-lot-design

Parking lot system design

Primary LanguagePython

Update config.py with available space and parking rate

Requirements:

Python version should be grater than 3.5

Running program

Python3 run.py

Assumptions:

  1. We have only one floor and one entry and exit gate.
  2. We are parking 3 and 4 wheelers in compact space.
  3. We are parking in large space if compact space is full.
  4. Parking charges is flat rate on the basics of price plan.
  5. In car class I am taking all 3 and 4 wheelers vehicle.
  6. When vehicle exit I am assuming person had paid parking charges
  7. We can add parking slot for electric car