Exercise: Format a date as YYYY-MM-DD

Format a date with strftime using the pattern '%Y-%m-%d'.
Python
Setting up Python environment...
Output