Pregunta de entrevista de DHI Group

Some question about Python coding