I have this set:
my_set = {'1': {'a'},
          '2': {'b'},
          '3': {'c'}
          }
I need to print the number with the associated letter in the same order as I have defined my_set, then I coded this:
for i in my_set:
    print (i)
but I got only the numbers and after several runs the numbers appears in different sequences like this:
3
2
1
1
3
2
...
What I'm doing wrong?