Message376039
"Unordered" means that the language doesn't promise any specific order, it doesn't mean that there is no order at all.
Try strings:
py> set("abcdef")
{'b', 'f', 'c', 'e', 'd', 'a'}
or different ints:
py> set([1, 0, -2])
{0, 1, -2} |
|
Date |
User |
Action |
Args |
2020-08-28 14:07:37 | steven.daprano | set | recipients:
+ steven.daprano, docs@python, piyushpravin1998 |
2020-08-28 14:07:37 | steven.daprano | set | messageid: <1598623657.41.0.186963816228.issue41656@roundup.psfhosted.org> |
2020-08-28 14:07:37 | steven.daprano | link | issue41656 messages |
2020-08-28 14:07:37 | steven.daprano | create | |
|