Learn to code, five minutes at a time

Short daily lessons that teach you real programming. Read a bit of code, answer a question, understand why. Free, no account needed.

Start today's lesson

Today's lesson: Variables in Python

What does this code print?

name = "Ada" greeting = "Hello, " + name print(greeting)

A variable stores a value you can use later. Here, name holds the text "Ada" and we combine it with another string.

Beginner

Recent lessons

Functions and return values

Learn how to write reusable blocks of code that give back a result.

Beginner

If/else conditions

Make your programs choose different paths based on what is true or false.

Beginner

Loops and iteration

Repeat actions without writing the same code over and over.

Beginner