+ 2

Can we use "dictionaries" as values in another dictionary,is it possible?

Given that lists and Dictionaries are mutable In the lesson Dictionaries . We are used lists as values .what happen when we use dictionary in place of list or integer?

26th Jun 2019, 6:40 AM
Hari Krishna Sahu
Hari Krishna Sahu - avatar
1 Antwort
0
That would be a nested dictionary, which does indeed work, generally speaking. Might be dependent on the language, tho.
16th Aug 2022, 2:46 PM
Fynn Nix
Fynn Nix - avatar