Question: We could also try to do this in reverse, mapping the number of days to a month name. This first line will make an empty
We could also try to do this in reverse, mapping the number of days to a month name.
This first line will make an empty dictionary, which we will add to.
month_with = {} month_with[31] = 'Jan' month_with[28] = 'Feb' month_with[31] = 'Mar' month_with[30] = 'Apr' month_with # see what we have so far What seems to be a problem here? Can you explain it?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
