Question d’entretien chez Amount

A quite easy python coding question. not leetcode style