Specialty Digest

Global English editionLearners’ Study Dashboard — in development
The Knowledge Library for All

Online Courses / University Track / Python from Zero

Module 1 of 8

First Programs: Output, Variables, Numbers and Text

Run your first lines, store values in variables, do arithmetic and work with text, including input from a user.

  • 6 hours
  • Outcomes O1, O2
  • Checkpoint: 80% to unlock Module 2

Big idea. A program is a list of exact instructions that a computer follows in order. Variables give values names, and the type of a value (number or text) decides what you can do with it.

Outcomes served. O1 (read and predict a program) and O2 (use variables, numbers and text).

Plan your six hours

Assumed. Nothing from earlier modules. If you can follow a recipe and do arithmetic, you can start.

Where this topic appears in practice. Analysts, scientists and administrators write short programs to automate repeated tasks such as renaming files or summarising a table. Every such program starts with these ideas. See the encyclopedia entry on the programming language.

Privacy. Your answers stay with you. This course does not store, collect or send anything you write or tick.