为社么多了个[101]
number = 0
x = 1
while True:
number = number + x
if number > 100:
break
print number
L = [number]
print L
请问,为什么L里显示有个[101]????
number = 0
x = 1
while True:
number = number + x
if number > 100:
break
print number
L = [number]
print L
请问,为什么L里显示有个[101]????
2018-11-30
举报