Skip to main content

Practice · 2 of 4

Days Between

CHALLENGE
Difficulty: beginner+25 XP

Using datetime.date, print the number of days between 2026-01-01 and 2026-09-13 (one line, just the number; subtracting dates gives a timedelta with .days).

Back to lesson: Practice: Standard Library Tour