Question d’entretien chez Revolut

To create a Python function related to the problem that they will show you.