DarkMind Ltd logo

CodeNova

Python Cards Adventure

Pack 1 / Foundations

variables

Lesson pack1-2

variables

not started

Hook

Variables are labels you stick on data so you can use it later.

Use = to store a value in a variable name.

Pick names that tell you what the value means.

Print the variable name to show the stored value.

Mini Challenge

Create a variable named age, store the number 13 in it, then print age on the next line.

Full lesson mode with normal detail.

Code Lab

Try it now

Output updates below

Output

Nova

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