Open lesson

Mission: name facts without blaming anyone

Command palette

This mission workspace keeps code and notes in this browser tab. Export them before closing it. Running code is practice, not an automatic grade for the mission.

Brief

Give a value a clear name, retrieve it, and understand what changes when that name receives a new value.

Imani, an independent investigator, arrives at Aster Motors. She wants a readable draft with an ID written in a log, the count of verified release cards, and notes received. You first have 'hero-07', 0, and 1. Mara then receives a distinct second note. Voss wants you to call the ID culprit, but Imani asks for names that describe the sources only.

Your mission

  1. Write three assignments with clear names for recorded ID, verified releases, and notes found.
  2. Choose a name that does not turn the ID into a verdict.
  3. Write a new assignment for two notes and predict print(notes_found).
  4. Explain why the change in code does not by itself prove the second note exists.

How to check your work

  • You use valid, clear names such as recorded_id, verified_releases, and notes_found.
  • You avoid culprit because a log claim is not a verdict.
  • You write notes_found = 2 and predict output 2.
  • You keep the second note's source, date, and contents apart from the Python draft.

Code

Use Tab to leave the editor. Ctrl+Enter runs the source. The lines beginning with # are task reminders. Python ignores them. Write your code beneath them.

Python console

Loading laboratory…

Explore Python or SQL here; this is not an operating-system shell.

This is a disposable browser experiment. The code run here is not recorded as a completed mission.

Each command starts a fresh disposable worker: it runs a captured copy of your current source, then your command with the lesson fixtures. Changes are discarded afterward. Commands never save source or award XP. Ctrl+Enter executes the command.

Virtual workspace files

Source and declarative assets are readable here without JavaScript. Python input files are created at runtime; SQL setup initializes the disposable database.

source.py

Current editor source. Inspection shows your current edits.

# Write three assignments with clear names for recorded ID, verified releases, and notes found.
# Choose a name that does not turn the ID into a verdict.
# Write a new assignment for two notes and predict `print(notes_found)`.
# Explain why the change in code does not by itself prove the second note exists.