All courses
PROGRAMMING / BEGINNER

Python, from zero

Learn to think in code. Get comfortable with variables, decisions, and your first little program.

3 text lessons 15 min + practice English

What you’ll learn

  1. 01
    Meet variables

    Use your own name, then create a variable for your favorite language.

    Preview
  2. 02
    Make a decision

    Try a score of 5 and then 10. Add an elif branch for a perfect score.

  3. 03
    Build a tiny calculator

    Write subtract and multiply functions, then test them with positive and negative numbers.

Before you start

No previous coding experience is needed. Use a laptop or desktop with an internet connection, a modern web browser, and Python 3 installed. Lessons can be read on mobile, but a computer is best for the exercises.

FREE PREVIEW / LESSON 01

Meet variables

A variable gives a value a name, so you can use it later. Run this example with Python 3. Strings hold text, and numbers let you calculate.

name = "Learner"
lessons = 3
print(f"Hello, {name}!")
print(f"You have {lessons} lessons to explore.")
Your turn

Use your own name, then create a variable for your favorite language.

Have a question about this course? Get in touch.