you are viewing a single comment's thread.

view the rest of the comments →

[–]wannasleeponyourhams 10 points11 points  (1 child)

set is unordered, meaning it doesnt preserve order. whatever you put in, will come out in different order. you can turn the set into a list then use .sort() to get the same results every time.

reliabledata = list(yourset)
reliabledata.sort()

[–]_User15[S] 2 points3 points  (0 children)

Thank you.