Fuel Gauge in Python

Use a Python while loop that prints the remaining fuel, changes its state each time, stops at zero, and prints an empty warning.

Python

Challenge overview

Format
Logic Puzzle
Category
Python
Difficulty
Beginner
pythonloopswhile-loop

Keep practicing

More coding challenges