Sep-29-2018, 09:59 AM
You seem to have magically converted unicode characters to integers as well :-)
There is no ordering of sets, order (such as it is) is based on hash values. Ordering is not even an implementation detail in CPython (as it was for dictionaries in CPython 3.6 before becoming standard in 3.7).
Thus, there is no weirdness. The output order is whatever it happens to be and should not be relied on.
There is no ordering of sets, order (such as it is) is based on hash values. Ordering is not even an implementation detail in CPython (as it was for dictionaries in CPython 3.6 before becoming standard in 3.7).
Thus, there is no weirdness. The output order is whatever it happens to be and should not be relied on.
I am trying to help you, really, even if it doesn't always seem that way