JJoeven

Exercises / eval

Docs win over the prior

answer(doc, prior, docs_win) uses doc when docs_win and doc is non-empty, else prior. Print three calls: win, lose, empty doc.

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