Pregunta de entrevista de Cognizant

In the technical round they asked a question from Python and SQL.