Register - Login - Forgotten Password

Lesson 20: Dictionaries: Storing Information in Key-Value Pairs (Parent Q&A)

This guide explains how Python dictionaries organise related information as key-value pairs. Open Full Article...

Lesson 20: Dictionaries: Storing Information in Key-Value Pairs (Teach This Topic)

This guide supports teaching Python dictionaries as mappings that connect meaningful keys with associated values. Open Full Article...

Lesson 12: Building Your First Python Quiz

How can familiar Python ideas turn into a working quiz? The surprising answer is that Python has no special quiz command. Open Full Article...

Lesson 11: Combining Conditions With And, Or and Not

What happens when Python needs one decision based on several true-or-false questions? Open Full Article...

Lesson 10: Comparing Values in Python

How can Python tell whether two scores match, or whether one number is bigger than another? Open Full Article...

Lesson 9: Using Else and Elif

What if a program needs to respond to several possible situations instead of giving only a yes-or-no response? Open Full Article...

Lesson 8: Making Decisions With If Statements

How can a Python program choose between different actions when a game score changes? A fictional game provides a clear setting for examining this question. Open Full Article...

Lesson 7: Converting Between Text and Numbers

Why does Python treat "10" + "5" as "105" instead of 15? The answer is that values which look similar on the screen can be different kinds of information. Open Full Article...

Lesson 6: Getting Input From the User

So far, our programmes have only displayed information. What if the person using one needs to answer back? Open Full Article...

Lesson 5: Working With Text and Strings

How can Python keep track of a name, a message or a whole sentence when each is made from different marks? Open Full Article...