All courses
· beginner

Python Foundations

Write your first working Python. Values and types, making decisions, repeating work, and the errors you will meet in your first week, explained rather than feared.

Pathaxis · Original content

Written in house, from the work rather than from a syllabus. Every example is one we would use ourselves, and every exercise is checked against the same engine that grades your answer.

84 min 6 lessons 20 quiz questions 6 exercisesStart course

What you’ll learn

  • Store values in variables and know which type you have
  • Convert between types deliberately rather than by accident
  • Branch with if, elif and else
  • Repeat work with for and while, and stop a loop safely
  • Build and format strings without string addition
  • Read a traceback and find the line that caused it

Before you start

  • · No programming experience needed
  • · Curiosity about what a program actually does

Syllabus

01

Values and types

What Python stores, and why the type matters.

02

Making decisions and repeating work

Conditionals and loops, the two shapes of every program.

03

Text and errors

Working with strings, and reading what Python tells you when it fails.