Code
Learn Python with Olav, or build programs of your own. Real Python, with an editor and a console, right in the browser.
Your code stays on this machine. Nothing you type is sent to us.
A program is what you tell Python
A program is what you tell Python, written line by line. Python does them one after another, from the top down. The first one you learn is print: it prints what's inside the brackets, and it shows up in the console. Text goes in quotes, like "Hello". Numbers and sums don't.
The program is in the editor. Press Run, and see what it writes in the console.
Try also
- More numbers
Addition
Practise addition up to 10 and up to 20. Every answer counts toward what you know at the university.
Play - More numbers
The copier
The municipality's copier stands outside the town hall. People in Losvik bring orders: how many copies, A4 or A3, one side or both, stapled or not. Set the machine, work out what it asks, load paper and clear jams. Each order done right pays losmynt. At the machine in Losvik it runs on the power from the exercise bikes on the square.
Play - Something else entirely
Gjerøy
Walk round Gjerøy, row across Hamnsundet, and find the games where they belong. The island is drawn from Kartverket's map.
Open