Question: Python Programming: Given: dct = { 'Monday':1, 'Tuesday':2, 'Wednesday':3} Which will display the value 2? a. print(dct.get(2)) b. print( dct.get('Tuesday'), '22')) c. print( dct[2]) d.
Python Programming: Given: dct = { 'Monday':1, 'Tuesday':2, 'Wednesday':3}
Which will display the value 2?
a. print(dct.get(2))
b. print( dct.get('Tuesday'), '22'))
c. print( dct[2])
d. print( dct[1])
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
