Question d’entretien chez Kepler Group

How would the python language for this look like?