Domanda di colloquio di Affirm

Scenario based question and solved using python