So I'm pretty new to programming, and I'm working on a small text based game for practice. Anyways, here's my problem.
x=1
for items in hero.basics:
print(x, ". ", items, sep = "")
x += 1
and the dictionary is,
self.basics = {"Attack" : self.attack, "Potion" : self.potion}
So I need it to display in the same order as the actual dictionary, but it always displays randomly.
Any suggestions?