Pergunta de entrevista da empresa Kepler Group

How would the python language for this look like?