Pregunta de entrevista de Aily

A Python code snippet badly written