HF RL Explorer

Task: Calculate Number of Days Between Two Dates

Task: Calculate Number of Days Between Two Dates: a task in Terminal-Lego-15k (Harbor dataset). Write a Python script that calculates the number of days between two given dates. The script should be able to handle dates in the format 'M/DD/YYYY' or 'MM/DD/YYYY' and output the number of days…

The task

Write a Python script that calculates the number of days between two given dates. The script should be able to handle dates in the format `'M/DD/YYYY'` or `'MM/DD/YYYY'` and output the number of days between them.

Part of PrimeIntellect/Terminal-Lego-15k.