Pregunta de entrevista de Cognizant

Simple Python related and SQL related questions.