DPython for KidsModule 1 · Lesson 1.3
LESSON 1.3 · 30 MINUTES

My First Python Challenge

Now you will combine exact instructions into a tiny digital poster.

Discover

  • Programs can contain several instructions.
  • Each print instruction starts a new output line.
  • Testing helps you spot and fix mistakes.

Try, explain and change

Try: Make a three-line profile for a fictional explorer. Print “=== EXPLORER CARD ===”, “Name: Nova”, and “Mission: Map the moon” on separate lines.

Change: Change Nova to a new fictional nickname. Do not use your real name.

SAFE PYTHON RUNNER

Try the challenge

No files · no network · safe lesson commands only

Make a three-line profile for a fictional explorer. Print “=== EXPLORER CARD ===”, “Name: Nova”, and “Mission: Map the moon” on separate lines.

Target output
=== EXPLORER CARD ===
Name: Nova
Mission: Map the moon
Match the lines and order. Your code must use the lesson concept.

The runner supports this pathway’s controlled Python concepts while blocking packages, files, networks and system commands.

Output
Your output will appear here.
DEBUG DETECTIVE

Find the bug

print("=== MY CODE CARD ===")
print(Name: Ada)
print("Future coder")
Show debugging clue

Text such as Name: Ada must be inside quotes.

QUICK CHECK

Why do programmers test code?

To make typing slower

Not this time. Review Discover and try again.

To find and fix problems

Correct — well reasoned.

To delete the program

Not this time. Review Discover and try again.

Create and reflect

Create: Personalise the card without sharing private information—use a nickname or character name.

Reflect: Which mistake did you find and how did you fix it?

Stretch practice · self check

Create a second card for a different fictional explorer; test that each detail has its own line.

Edit and run your code again to explore this variation. It does not change lesson completion.