Python Taskbook Level 8.9
Given a dictionary with a to-do list for a specific date:
affairs = {
'2019-12-31': ['to-do list calendar'],
'2018-11-29': ['to-do list calendar'],
'2018-11-30': ['to-do list calendar'],
'2018-12-27': ['to-do list calendar'],
'2019-12-29': ['to-do list calendar'],
'2019-12-30': ['to-do list calendar'],
'2018-12-30': ['to-do list calendar'],
'2018-12-31': ['to-do list calendar'],
}
Display all cases for 2018
year.