Pregunta de entrevista de Infosys

How would you get time in Python?