TutorSyntax beginner programming series

Python Programming: First Steps

A Beginner's Guide with Simple Tutorials, Worked Examples and Coding Challenges

By James Cole. Start with your first print statement, learn programming one step at a time and practise with real Python 3 files from the book.

Python Programming: First Steps by James Cole — official TutorSyntax book cover
Published · Available on Amazon UK

Start coding with confidence

Ten core chapters introduce output, text, variables, input, calculations, decisions, loops, strings and lists. Bonus Chapter 11 explores random numbers and simple games.

The six final challenges help you apply what you have learned independently.

Optional free resources

Read → Type → Predict → Run → Change → Build

Every worked example is printed in full in the book. These optional files let you explore the same programs without retyping everything.

The project model answers are clearly labelled; try the project yourself before comparing your solution.

Book information: Python Programming: First Steps is now listed on Amazon UK ↗. The cover displayed is the official cover supplied for the book. Companion code, hints and solutions remain free to access, whether or not you own the book.

PRACTISE & BUILD

Six final Python challenges

Put your first Python skills to work: create a welcome card, calculate costs, make decisions, use loops, select a random subject and build a simple quiz scoreboard. Each task has a downloadable starter; solutions are left for you to build.

Download Python companion code

The exact tutorial and guided-project filenames match the current 110-page book proof. Files work with standard Python 3 and no additional packages.

Getting started: Save the ZIP to your computer, extract it, then open an individual .py file using Mu, IDLE or another Python 3 editor. Scripts that ask for input should be run in a terminal/console. These examples are self-contained and do not need an internet connection. Challenge starters intentionally contain instructions, not completed answers.
CHALLENGE SUPPORT

Six challenges · Progressive hints & worked solutions

Attempt the final tasks independently, then use small hints, step-by-step plans, commented Python answers, test cases and extensions.

The learning journey

  1. Your First Python Program
  2. Working with Text
  3. Variables and Values
  4. Make Programs Interactive
  5. Calculate with Python
  6. Choose with if Statements
  7. Repeat with for Loops
  8. Repeat with while Loops
  9. Explore and Change Strings
  10. Lists and Your First Projects
  11. Bonus: Random Numbers for Games
  12. Six Final Programming Challenges

Continue learning in the free Python Foundations course, try Python Missions or explore 70 technology careers.

See our Sources & Acknowledgements. TutorSyntax is not affiliated with or endorsed by OCR, AQA or the Python Software Foundation.