if we use:
set('abc')
we will get :
set(['a', 'c', 'b'])
My question is why not:
set(['a', 'b', 'c'])
Thank you!
if we use:
set('abc')
we will get :
set(['a', 'c', 'b'])
My question is why not:
set(['a', 'b', 'c'])
Thank you!
W3schools answer: Sets are unordered, so the items will appear in a random order.
Read more about them: https://www.w3schools.com/python/python_sets.asp
:)