DarkMind Ltd logo

CodeNova

Python Cards Adventure

Pack 1 / Foundations

basic operations

Lesson pack1-4

basic operations

not started

Hook

Python is great at doing the boring maths instantly.

Use +, -, * and / with numbers.

You can store results in variables too.

Try tiny changes and spot the new output.

Mini Challenge

Create score = 12 and bonus = 5, then print score + bonus so the total appears in the output.

Full lesson mode with normal detail.

Code Lab

Try it now

Output updates below

Output

10

Run the code, tweak it, then beat the challenge.