I am trying to iterate through a dictionary in the order I have created the dictionary for example, I want it to print name in this order. Right now it prints in random order.
Order I want :ExtraClick, AutoClick, PackCookies, BakeStand, GirlScouts
code:
self.how_many_buildings = {'ExtraClick': 0,
'AutoClick': 0,
'PackCookies': 0,
'BakeStand': 0,
'GirlScouts': 0}
for name in self.how_many_buildings:
print(name)