Development
Python Programming Foundations
Write your first Python programs and learn how to check that they work. Build from simple input and decisions to reusable functions and a small practical project.
What you’ll learn
- Read and write Python scripts that use variables, input, decisions and loops.
- Choose suitable data structures and organise repeated logic into functions.
- Use error messages and test cases to check how a small program behaves.
Who this course is for
Beginners who are new to programming or who want a structured introduction to Python.
Practical application
Build a simple tracker that accepts and stores entries, produces a summary and handles invalid choices.
Frequently asked questions
Do I need previous coding experience?
The curriculum starts with running a first script and assumes no previous programming experience.
What does the final project involve?
You combine input, decisions, loops and functions to build a small tracker and test how it handles different inputs.
Course curriculum
-
Getting Started with Python
Run a short script and distinguish the code you write from the output it produces.
- Running a script
- Reading output
-
Variables, Data Types and User Input
Store values, work with text and numbers, and convert input before using it in calculations.
- Values and types
- Input conversion
-
Making Decisions with Conditions
Use comparisons and conditional branches to choose what a program should do.
- Comparisons
- Conditional branches
-
Repeating Work with Loops
Choose a loop for repeated tasks and recognise when it should stop.
- For and while loops
- Stopping conditions
-
Working with Strings, Lists and Dictionaries
Choose a suitable structure for text, sequences or named values, and retrieve the information you need.
- Text and lists
- Key–value pairs
-
Functions and Reusable Code
Break a task into smaller functions, pass in values and return results.
- Parameters and return values
- Reusable logic
-
Reading Errors and Testing Small Programs
Read a traceback, reproduce a problem and check ordinary, boundary and invalid inputs.
- Tracebacks
- Boundary and invalid inputs
-
Building a Small Python Program
Build a simple tracker that accepts input, stores entries, displays a summary and handles invalid choices.
- Program structure
- Checking results
