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.
# Publish the selected cultural-program record.
print("Dynamic Humanities Field Lab")
print("Community Storytelling Evening")
print("Berlin | 18 October 2026 | 18:30")
print("Welcome! Willkommen! Bienvenue! Karibu!")
print(120)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.
# TODO: adapt all five output lines.
print("Dynamic Humanities Field Lab")
print("CHANGE ME")
print("CHANGE ME")
print("CHANGE ME")
print(0)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.
# Write your five-line announcement here.
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:
identify the data;
identify the code;
describe the output; and
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.