...

/

Quick Quiz on Dictionaries

Quick Quiz on Dictionaries

We'll cover the following...
1

What is the output of the following code?

Dict = { 'Dict1': {'Fruitname': 'Mango', 'season': 'Summer'}, 
         'Dict2': {'Fruitname': 'Orange', 'season': 'Winter'}}
print(Dict['Dict1']['Fruitname'])
print(Dict['Dict2']['season'])  
A)

Mango

Winter

B)

Orange

Winter

Question 1 of 40 attempted
Access this course and 1400+ top-rated courses and projects.