why set is sorted at printing?

后端 未结 0 1920
太阳男子
太阳男子 2021-01-27 21:04

set is kind of sorted while printing for this code:

x={2,1,3,4,5,6,8,7,9,10,\'1\',\'2\'}
print(x)

the output will be:

{1, 2, 3, 4,         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题