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
- Values, variables and input
- Making decisions
- Repeating work with loops
- Storing and processing lists
- Writing reusable functions
- 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
12The 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.
