Loading…
Real code would use datetime.datetime.now(), but the grader needs a fixed value, so treat 2025-01-01 12:00:00 as the current moment. Create that datetime and print it formatted as YYYY-MM-DD HH:MM:SS.
Expected output: 2025-01-01 12:00:00
Create a free account to save your progress and reveal the worked answer for this free exercise. The complete practice library is available with Practice Pass or Mastery.
Create a free account to save your progress and reveal the worked answer for this free exercise. The complete practice library is available with Practice Pass or Mastery.