Keep one result per request — Python practice — Live Code Tutor