Register - Login - Forgotten Password

Lesson 21: Creating and Using Functions in Python

What if a programme could learn a useful set of instructions once and reuse them whenever needed? Open Full Article...

Lesson 22: Giving Information to Functions With Parameters and Arguments

How can one set of instructions produce a different result each time it is used? Open Full Article...

Lesson 23: Returning Results From Functions With Return

What happens when a calculator receives two numbers but needs to send the answer back for another part of a programme to use? Open Full Article...

Lesson 24: Understanding Python Errors and Debugging Code

A tiny change in a programme can turn an expected answer into a puzzling result, even when the code looks almost right. Open Full Article...

Lesson 25: Handling Python Errors Without Crashing

A programme asks for a number, but someone enters unexpected text: must the whole programme stop? Open Full Article...

Lesson 26: Reading and Writing Text Files in Python

How can a programme remember a saved score after its window has closed? Open Full Article...

Lesson 27: Using Python Modules and Libraries

Does every Python programmer really need to write every useful calculation from the beginning? Open Full Article...

Lesson 28: Building a Number Guessing Game in Python

How can a computer appear to “think” of a secret number and respond intelligently to every guess? Open Full Article...

Lesson 29: Building a Text Adventure Game in Python

You wake in a mysterious room: a dark passage lies to the left, while a stairway rises to the right. Open Full Article...

Lesson 30: Building Your First Complete Python Project

Separate Python skills become one useful programme through organisation, not accumulation. Open Full Article...