Solved

What Is the Correct Structure to Create a Dictionary of Months

Question 1

Multiple Choice

What is the correct structure to create a dictionary of months where each month will be accessed by its month number (for example,January is month 1,April is month 4) ?


A) { 1 ; 'January', 2 ; 'February', ... 12 ; 'December'}
B) { 1 : 'January', 2 : 'February', ... 12 : 'December' }
C) [ '1' : 'January', '2' : 'February', ... '12' : 'December' ]
D) { 1, 2,... 12 : 'January', 'February',... 'December' }

Correct Answer:

verifed

Verified

Related Questions