Apr-01-2021, 09:12 PM
(This post was last modified: Apr-01-2021, 09:12 PM by stereokim123.)
Hi I'm currently learning the basic python course, dictionary.
Item = {‘Apple’ : 10, ‘Banna’ : {‘Apple’ : 5, ‘Banna’ : 20}} here is the code that is given.
1. The question is about finding the Apple value and explain the reason for the result.
2. What code should I write in order to use 'Apple' that is in the 'Banna' value.
Thanks.!
Item = {‘Apple’ : 10, ‘Banna’ : {‘Apple’ : 5, ‘Banna’ : 20}} here is the code that is given.
1. The question is about finding the Apple value and explain the reason for the result.
2. What code should I write in order to use 'Apple' that is in the 'Banna' value.
Thanks.!