3
I’m trying to show you keys
and its values, but I would like to do so using the predefined order, and not chance.
For example, I have this dictionary:
months = {'January':31,'February':28,'March':31,'April':30,'May':31,'June':30,
'July':31,'August':31,'September':30,'October':31,'November':30,'December':31}
But its content is not shown in order, ie first "January" and then "February", etc.
How can I do it?