JJoeven

Exercises / tools

Idempotent finish

finish(answer) returns the same dict if called twice with the same answer (store last). Print both calls and a changed answer.

Live Pythonpython
Output
Run to execute this in your browser. Nothing is sent to a server.