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:
Verified
Q5: Sets are created using curly braces {
Q6: Which would you use to get the
Q7: If you try to retrieve a value
Q8: The elements in a dictionary are stored
Q9: Which method would you use to get
Q11: Which would you use to delete an
Q12: The difference of set1 and aet2 is
Q13: A dictionary can include the same value
Q14: The issubset()method can be used to determine
Q15: In a dictionary,you use a(n)_ to locate
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents