Pregunta de entrevista de GajShield Infotech

Basic python and understanding of logic