Pregunta de entrevista de MHP - A Porsche Company

Why is this throwing an error?