Просмотрите дикт

for key, value in d.items():
	...

for key in d.keys():
	...

for value in d.values():
	...
Thankful Teira