Skip to main content

Undo and redo · 5 minutes

Undo the last rename

Get feedback on your answer. No account needed.

What does this Python code print?

past = []
title = "Draft"
for new in ["Map", "Trip"]:
    past.append(title)
    title = new
title = past.pop()
print(title)

Enter the output on one line.

Your answer
Need a small hint?

Each rename records the title it replaces.

This helps us choose when to schedule your next review.