Lesson plan

Python 101 with MakeCode - Lesson 10

Students test their cumulative Python skills across up to ten timed Agent challenges in an arena, competing solo or in pairs to conclude the course.

Python 101 with MakeCode - Lesson 10
Ages
Ages 11+
Duration
1 hour
Essential question

How can you apply all the Python concepts learned throughout the course to complete coding challenges under a time constraint?

Overview

In this final course lesson, the developers at CodingMine are preparing to launch the Agent to the public. Before release, the Agent must undergo rigorous stress testing across up to ten distinct coding challenges that review all accumulated concepts from the entire Python course.

Students enter a specialized testing arena where they can complete the challenges individually or race against a classmate in two-player mode. Each challenge features a 210-second timer and requires students to apply skills such as nested loops, conditionals, variables, lists, and debugging using the Agent.

Learning objectives

By the end of this lesson students will be able to:

  • Apply cumulative Python coding knowledge to complete automated Agent tasks in an arena.
  • Solve coding problems involving loops, conditionals, variables, lists, and syntax within a 210-second time limit.
  • Debug and reset code efficiently to achieve valid challenge outcomes.

Blocks and items used in this lesson

Key vocabulary

Nested loop
A loop located inside the body of another loop.
Conditional
A programming statement that runs code only when certain conditions are true.
Syntax
The specific rules and structure required for code to be understood by the computer.
List
An ordered collection of items stored together under a single variable name.
Boolean
A data type that has only two possible values: true or false.

Before class

Lesson sequence

Suggested timing: about 60 minutes in total.

  1. Mission Briefing10 min

    Explain the scenario to the class: CodingMine is preparing to launch the Agent to the public, but it needs final stress testing. Inform students that they will tackle up to ten challenges reviewing all course concepts, each timed at 3.5 minutes (210 seconds).

  2. Arena Orientation10 min

    Instruct students to speak to the CEO to initiate the session and choose between one-player or two-player mode. Explain that two-player mode places each player into a separate pod to compete for speed, and point out the personal reset button inside each arena.

  3. Stress-Test Challenges30 min

    Students work through the 10 arena challenges: Blinding lights (nested loops), Row by row (nested loops), Pumpkin or melon? (conditionals), Diamond rush (variables), What's that syntax!? (syntax), Spring arrival (debugging), Depths of the earth (loops), Diamond or dirt (calculation and Boolean), Do I need to list it out? (lists), and The Agent labyrinth (while loops).

    Remind students that any valid code achieving the goal will be accepted, and uncompleted tasks will automatically advance after 210 seconds.

  4. Review and Course Conclusion10 min

    Direct students to check their final score showing how many challenges were successfully completed. Conclude the course by reviewing mastered concepts, including Python command structure, syntax, algorithms, loops, conditionals, variables, lists, functions, and decomposition.

Assessment: success criteria

  • Student successfully programs the Agent to meet the objective of individual challenges within the 210-second limit.
  • Student demonstrates understanding of Python concepts by writing valid alternative code solutions.
  • Student accurately identifies total challenges completed at the end of the arena run.

Differentiation

Support

Encourage struggling students to use their personal reset button early in the 210-second countdown to fix errors rather than waiting for the timer to expire.

Stretch

Have advanced learners participate in the two-player mode to compete for the fastest completion times across all ten challenges.

Knowledge check

5 questions to check understanding after the lesson. Tap an answer to see if it is right; the score appears at the end.

  1. 1How much time do students have to complete each arena challenge?

  2. 2Who must students speak with in order to begin the challenges and pick player mode?

  3. 3What happens if the 210-second timer runs out before a challenge is completed?

  4. 4What setup is required when students choose two-player mode?

  5. 5Which programming concept is specifically tested in challenge 10, 'The Agent labyrinth'?

Resources

Part of the Python 101 curriculum

This is lesson 10 of 10 in Python 101.

  1. Python 101 with MakeCode - Lesson 1
  2. Python 101 with MakeCode - Lesson 2
  3. Python 101 with MakeCode- Lesson 3
  4. Python 101 with MakeCode - Lesson 4
  5. Python 101 with MakeCode - Lesson 5
  6. Python 101 with MakeCode - Lesson 6
  7. Python 101 with MakeCode - Lesson 7
  8. Python 101 with MakeCode - Lesson 8
  9. Python 101 with MakeCode - Lesson 9
  10. Python 101 with MakeCode - Lesson 10

Frequently Asked Questions

Can students write code differently from the provided solution?

Yes. While only one solution is given in the materials, any student code that achieves the required result is considered valid.

Do students need to supply blocks and items to the Agent during the challenges?

No. Where applicable, the Agent has already been stocked with all necessary blocks and items needed for each specific challenge.

What happens if a student presses the reset button during a challenge?

The reset button inside each student's arena only resets that individual challenge, allowing the student to restart their current task without affecting others.

Adapted from Python 101 with MakeCode - Lesson 10 by Minecraft Education on Minecraft Education, last updated Jun 14, 2023. This classroom version, the timings and the quiz were written by 9Minecraft Education.

You May Also Like

9Minecraft Education is an independent teaching resource and is not affiliated with Mojang or Microsoft. Lesson plans here are our own classroom-ready adaptations; each one links to the original resource and credits its author. © 2026 9minecraft.net