×

python · level 1 · unit 2 · lesson 3

  1. meet it
  2. guess first
  3. your turn
  4. fix it
  5. nailed it

Tap a green word if you get lost.

meet it

Give every box a name that tells you what is inside.

Names can use letters, digits and the underscore _. They cannot contain spaces or start with a digit. Python is case-sensitive, so Pet and pet are two different boxes.

A good name says what is inside. x could be anything, but pet_name explains itself. Future you will be grateful.

If a name needs more than one word, write it in small letters with underscores between the words, like best_friend. This style is called , because it is long and low, like a snake.

best_friend = "Priya"
print("My best friend is " + best_friend)

Once you pick a name, spell it exactly the same way every time.