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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!