Skip to main content

Undo and redo · 5 minutes

Choose the next title to redo

Get feedback on your answer. No account needed.

What does this Python code print?

title = "Final"
past = ["Draft", "Outline"]
future = []
for step in range(2):
    future.append(title)
    title = past.pop()
title = future.pop()
print(title)

Enter the output on one line.

Your answer
Need a small hint?

Redo reverses the most recent undo first.

This helps us choose when to schedule your next review.