AlgoPath Python · Book 1

Python FoundationA complete first course in Python 3

Start with your first message, then build programs with input, decisions, loops, lists and reusable functions.

By AlgoPath Coding Academy
First edition, 2026 · 11 chapters

Python Foundation: A complete first course in Python 3 — front cover

Who this book is for

New Python learners who want to build and understand their first small programs.

Before you begin

No previous Python experience is needed. Work through the examples using Python 3 and save your programs as you go.

A first programming course that builds a foundation for later GCSE Python work.

Inside the book

Learning themes across 11 chapters

  1. Values, variables and input
  2. Making decisions
  3. Repeating work with loops
  4. Storing and processing lists
  5. Writing reusable functions
  6. Combining ideas in small projects

Work through explanations and examples, try the independent practice, then use the explained answers to review your reasoning.

Try the approach

Follow a changing value

A variable holds a value that later statements can use. Predict the result before running this program.

tickets = 3
price = 4
total = tickets * price
print(total)

What it prints

12

The program multiplies 3 by 4 and stores 12 in total. Change tickets to 5, predict the new total, then run it again.

This short public example introduces an idea explored in the book.