Quick Quiz on Dictionaries

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

Get hands-on with 1400+ tech skills courses.