You can easily access a child by using myfamily["child1"]
You can also access all keys by calling the keys()
method on the myfamily
variable
solved How to access an element inside a nested dictionary in python? [duplicate]
You can easily access a child by using myfamily["child1"]
You can also access all keys by calling the keys()
method on the myfamily
variable
solved How to access an element inside a nested dictionary in python? [duplicate]