Skip to lesson
  1. Learn
  2. See
  3. Try
  4. Make

Follow a small program line by line

What this lesson is about

Say out loud what each line does and what the values are, before you decide anything about the code.

A friend sends you fifteen lines of code that print the top three names, and asks if it works. How do you read it?

Why this matters

The Python tutorial starts with the equals sign putting a value into a name, and printing nothing. Evaluation work asks you to judge a program, not to write one.

Lesson 1 of 10 on Coding for evaluation worknextRun Python on your own phonePart 1 ends in a work sample you can send

Read the primary or official source: Python documentation · an informal introduction