1. सीखें
  2. /
  3. पाठ्यक्रम
  4. /
  5. Working with Dates and Times in Python

Connected

अभ्यास

Unix timestamps

Datetimes are sometimes stored as Unix timestamps: the number of seconds since January 1, 1970. This is especially common with computer infrastructure, like the log files that websites keep when they get visitors.

निर्देश

100 XP
  • Complete the for loop to loop over timestamps.
  • Complete the code to turn each timestamp ts into a datetime.