Computer ScienceIntroductory

Master Python

Start from never having written a line of code and finish able to build a program, read somebody else's, and know which of the two you should be doing.

Contents

Python from the first line to code other people can read. Values and names, talking to the person using the program, decisions and loops, the four collections, functions, text, errors, files, the standard library, classes, comprehensions and generators, and the habits that keep a program working after you have forgotten how it does.

1

First steps

What a program actually is, how to make one say something back to you, and what happens when you get it wrong. By the end you will have run and changed three dozen small programs, read your first error messages without flinching, and written four small pieces of working Python.

0/16

Values and variables

Opens once you finish First steps, including its quiz.

locked

Talking to the person using it

Opens once you finish Values and variables, including its quiz.

locked

Making decisions

Opens once you finish Talking to the person using it, including its quiz.

locked

Repeating things

Opens once you finish Making decisions, including its quiz.

locked

Lists

Opens once you finish Repeating things, including its quiz.

locked

Dictionaries, sets and tuples

Opens once you finish Lists, including its quiz.

locked

Functions

Opens once you finish Dictionaries, sets and tuples, including its quiz.

locked

Working with text

Opens once you finish Functions, including its quiz.

locked

When it goes wrong

Opens once you finish Working with text, including its quiz.

locked

Files and data

Opens once you finish When it goes wrong, including its quiz.

locked

Modules and the standard library

Opens once you finish Files and data, including its quiz.

locked

Classes and objects

Opens once you finish Modules and the standard library, including its quiz.

locked

Comprehensions and generators

Opens once you finish Classes and objects, including its quiz.

locked

Writing Python other people can read

Opens once you finish Comprehensions and generators, including its quiz.

locked

Master Python unit exam

Opens once every section is finished and every quiz is passed.