What is the correct structure for creating a dictionary of month names to be accessed by month numbers?
A) { 1 ; 'January', 2 ; 'February', 3 ; 'March' }
B) { 1 : 'January', 2 : 'February', 3 : 'March' }
C) [ 1 : 'January', 2 : 'February', 3 : 'March' ]
D) { 1, 2, 3 : 'January', 'February', 'March' }
Correct Answer:
Verified
Q5: Sets are created using curly braces {
Q10: What method can be used to add
Q11: What would be the result of the
Q12: What is the number of the first
Q13: A dictionary can include the same value
Q14: Which of the following does not apply
Q16: What is the process used to convert
Q17: Which method would you use to return
Q19: The set remove and discard methods behave
Q19: What does the get method do if
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