Pregunta de entrevista de Bank of America

Basic python questions. Standard is not that high