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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!