Cognizant Interview Question

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