OCR J277 · Component 02 · 2.2.1

Variables, Constants and Assignment

Use a short top-to-bottom Python program to practise variables, constants and assignment. CodeQuest supplies the starting values; you change the statements that calculate and print the result.

Estimated time
42 minutes
Reward
10 XP
Status
Public Preview

Quest Briefing

Use a short top-to-bottom Python program to practise variables, constants and assignment. CodeQuest supplies the starting values; you change the statements that calculate and print the result.

By the end of this quest, you can...

Read supplied variables and predict what a short program will display.
Apply the lesson concept to a fresh scenario and repair a relevant fault.
Explain how the statements use the supplied variables to produce a consistent result.