Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Goal: Run it. Read it. Change it. Break it. Fix it. Explain it.
AI mode: AI-free foundation with one supplied AI-style audit
Estimated active time: 45–60 minutes

The example is instructor-designed. It is not a record of a real event. AI can generate code quickly; your goal here is to understand and verify every line yourself.

Connect: data, code, and output

A title, city, date, greeting, and capacity are data. Python instructions are code. What appears after execution is output. Before running the next cell, write the five lines you expect to see.

Explain

Match each output line to the instruction that produced it. Why are quotation marks absent from the output? What might 120 mean, and why is that line unclear to a reader?

Modify

Complete the cell below for this designed record: Oral Histories Workshop, Nairobi, 21 November 2026, 10:00, greeting Karibu, capacity 40. Keep exactly five print() calls.

Debug

The two examples below are shown as text so the notebook remains restart-and-run safe. Copy each into a new code cell, run it, read the final error line, and repair one symbol.

print("Poetry Across Languages)
print("Brussels | 6 November 2026 | 19:00"

Apply

Create your own five-line announcement below. It must include a useful comment, a heading, a title, a location/date/time line, a greeting line, and an integer.

AI can propose; you must verify

Brief: Publish Oral Histories Workshop in Nairobi on 21 November 2026 at 10:00, include Karibu, and display integer capacity 40.

Audit this instructor-supplied AI-style proposal without prompting an AI tool:

print("Dynamic Humanities Field Lab")
print("Oral History Festival")
print("Nairobi | 22 November 2026 | 10:00")
print("Welcome!")
print(400)

List every mismatch, correct it in a new code cell, run the result, and explain why runnable code can still be wrong.

Explain back

In four sentences:

  1. identify the data;

  2. identify the code;

  3. describe the output; and

  4. explain one error you repaired or one limitation you noticed.

Then use Kernel → Restart and Run All (or the equivalent command). Every provided cell should execute from top to bottom.