I have a nested python dictionary data structure. I want to read its keys and values without using collection module. The data structu
python dictionary
without
collection
To get keys and values you need dict.items():
dict.items()
for key, value in d.items(): print(key)
If you want just the keys:
for key in d: print(key)