+ 1
Can you explain the program and output?
2 Respostas
+ 2
Print 'd' before the last line to understand it better. The dictionary 'c' is at index 2 and 3 is the key in that dictionary. So it results in the value at that key which is 2.
You can try d[2][6] and it will give you a key error since there is no matching key in the dictionary.
+ 1
Thanks