lesson 3
lesson 3
Variables
Variables
Variables let you store information in your Python programs.
You can think of a variable like a labelled box that holds something.
name = "James"
age = 11
print(name)
print(age)
The variable name stores "James", while age stores 11.
Change the values of name and age to your own values.
Create a variable called favourite_game and give it a value.
Then print it:
favourite_game = "Football"
print(favourite_game)
Press Run when you're ready.
Next - Lesson 4: Numbers & Math