Skip to main content

Practice ยท 2 of 4

Days Between

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).

Difficulty: beginner

Back to lesson: Practice: Standard Library Tour