Checkpoint Step 4 of 16 on the Python Developer roadmap

Checkpoint: trotro fare calculator

Build a command-line program that asks for the number of passengers and the distance, works out the fare and prints a neat receipt using an f-string. Keep asking until the user types q, and politely reject answers that are not numbers instead of crashing. If you can build this without copying, you are ready for data structures.

See it on the Python Developer roadmap