Pregunta de entrevista de Accenture

SQL question and python question