Question d’entretien chez J.P. Morgan

Basic Python coding, and explain how you can approve the code.