>>> range(1,11)
给你
[1,2,3,4,5,6,7,8,9,10]
为什么不1-11?
他们是否只是随意决定这样做,或者它是否具有一些我没有看到的价值?
python range
python ×1
range ×1