Pregunta de entrevista de IDFC FIRST Bank

Write a sample python script and explain