library version... python: 3.7.4.final.0 pandas: 1.0.0 numpy : 1.18.1
strings = {'one','two','three','four'}
stri = ["one",'two','three','four']
print("strings={} \n stri={}".format(strings, stri))
#elements in strings changes position!!! output: strings={'four', 'two', 'three', 'one'}
#elements in stri remains in same order!!! output: stri=['one', 'two', 'three', 'four']
why elements in strings are changing the order?