Cuppa and Code #1: What a program is, explained through making tea

This beginner tutorial introduces programming through a tea-making analogy, describing a program as an ordered list of instructions that a computer follows literally. Readers are told they need only a Google account to use Colab, with no installation or prior experience required. The guide walks through running simple print commands in a notebook and shows how reordering lines changes the output. It also explains that notebooks can behave unexpectedly when cells run out of order, recommending a restart and run-all as the fix. The piece closes with a challenge to write a step-by-step tea program and sets up the next lesson on error messages.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in