SypherTec
…
CHECKPOINT2 MIN READUPDATED 19 NOV 2026

Checkpoint: Your Program Stores and Reports Values

Your program stores values and reports on them.

That is a specific claim about what the seven lessons of this part put in your hands. Run your tracker below. If you worked through the exercises in this part, it opens with your own version, with your name and your amounts. If not, it opens with the finished Part 1 starter.

YOUR TRACKER AT THE END OF PART 1 · PYTHON
Tab indents. Press Escape, then Tab, to leave the editor.
CONSOLE
no output

What your program can do

Every line of that report was worked out by your program, from values stored at the top of the file.

It keeps text and numbers in variables with readable names, and reuses them instead of retyping them. It does arithmetic on whole numbers, and knows that dividing gives a float. It builds sentences around its values with f-strings, including a naira sign and thousands commas. It knows the difference between "4200" and 4200, and converts text to a number before adding it. It keeps every expense in one list that can grow. It asks that list questions with len, sum, max and min, so its answers stay right however many expenses you add.

The file is ordinary Python. Press DOWNLOAD and you get main.py, the same file the python command runs on any computer.

What it cannot do yet

It cannot decide anything. Spend more than your budget and the report looks exactly the same as when you spend less. It cannot warn you, pick a message to fit the numbers, or treat one expense differently from another.

It also cannot repeat itself. To print each expense on its own line, you would need one print per item, written by hand. Add a sixth expense and you would need to write a sixth line.

What comes next

Part 2 teaches decisions and repetition. Your program will compare its total with a budget, and choose what to say with if. It will go through every expense in the list with a loop, however long the list is. And it will package steps you repeat into functions of your own. You keep everything from this part. Part 2 makes the same tracker think.

CHECKPOINT❮❯