Pregunta de entrevista de FIS

Basic python programming challenge, with multiple features.