Challenge 079 · Ages 11–16
Python Guessing Game
Program a guessing game.
Recommended Guided Learning Time: 3 hours
Learners may require additional or fewer hours depending on age, prior experience, pace and the level of development they choose to take their project to.
Primary STEAM area
Technology
The Challenge
What will your learner investigate?
Can you program a guessing game. and explain the choices that make your solution effective?
Learning outcomes
- Write and run Python code using appropriate variables, inputs and control structures.
- Test, debug and improve the program.
- Explain how the algorithm turns a problem into a working digital solution.
Connected learning
Computing: programming and algorithms; Mathematics: logic, number and variables; English: precise instructions and documentation; PSHE: responsible technology use.
Dream Areas
Prepare for this Challenge
What you'll need
Here's what may be useful for completing this activity. Requirements may vary depending on the learner, activity format and equipment available.
Materials & consumables
- Guessing-game rules
- example values entered into the program to check that it works
- flowchart sheet.
Equipment, tools & software
- Computer
- Python 3 or approved Python editor.
Safety & preparation
- Avoid collecting personal information as game input.
These preparation notes support planning and do not replace a project-specific risk assessment or appropriate adult supervision.