Find Days Between Dates

Write days_between_dates(start_date, end_date). Both strings use YYYY-MM-DD. Return the signed number of days from start_date to end_date; an earlier end date gives a negative result.

Examples

  • ["2026-04-01","2026-04-08"]7

Your solution

Python

Results

Python starts when you run or submit this challenge.

Back to Lesson