Skip to content

1 · Your first notebook

Everything below is live — it’s a real Python notebook running in your browser. Click into the first code cell and press Shift + Enter to run it. Then keep going, cell by cell.

⏳ The first cell takes a few seconds while Python starts up in your browser. After that, everything is instant.

The notebook above runs entirely in your browser — nothing is installed and nothing leaves your device. Your changes are kept in this browser. First load takes a few seconds while Python starts.

Open it full-screen ↗

Before moving on, make sure you can:

  • Run a cell with Shift + Enter
  • Change a variable’s value and re-run
  • Explain what a list is
  • Produce the bar chart at the end

Next up: Choosing the right chart — six chart types, what each hides, and how charts lie.

Co-funded by the European Union

Co-funded by the European Union under the Digital Europe Programme — projectEURIDICE, Grant Agreement No. 101123121. Views and opinions expressed are those of the author(s) only and do not necessarily reflect those of the European Union or the European Commission. Neither the European Union nor the granting authority can be held responsible for them.
Built by IIIM — Icelandic Institute for Intelligent Machines. Learning materials are licensedCC BY 4.0.