Python

Parse Date Strings

Working with Dates

Create parse_date(date_str) that:

  • Takes a date string like "2025-01-15"
  • Returns a dict with year, month, day as integers
script.py
Loading PYTHON engine...
Downloading Python… (one-time, ~10 MB)

Downloading Python… (one-time, ~10 MB)

This runs entirely in your browser and is cached for next time.