Skip to content
SID AG
← All projects

Python Car Dealership

A car dealership program in Python from 2023. I love cars and I love coding — this is where the two met, and where I learned what indentation really means.

Python
The Python car dealership program running

Overview

A dealership simulator: inventory, pricing, and buying, all in Python. I wrote it because I wanted a project about cars.

It is also the project where I learned, at length, that Python cares about whitespace.

What it taught me

  • That Python indentation is syntax, not style, and it will tell you so
  • Modelling real things — inventory, prices, buyers — as data structures
  • Breaking one long script into functions before it becomes unreadable