Quick Quiz on Dictionaries
We'll cover the following...
We'll cover the following...
Technical Quiz
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
1 / 4
Now that you have learned about ...