+ 1

Can list contain dictionaries?

27th Dec 2017, 7:20 AM
Vijay Pan
Vijay Pan - avatar
4 Réponses
27th Dec 2017, 7:31 AM
Scooby
Scooby - avatar
+ 6
you can try and see it 😁
27th Dec 2017, 7:35 AM
Vukan
Vukan - avatar
+ 1
Thanks
27th Dec 2017, 7:36 AM
Vijay Pan
Vijay Pan - avatar
0
But i how do i access the dictionary in the list if lets say b is the list b = [1,2,3,4,{5:'apple',6:'orange'},7,8]
27th Dec 2017, 7:38 AM
Vijay Pan
Vijay Pan - avatar