易错的点
range(0,2) # 只有两位 和列表一样
for i in range(0,2): l = [0,1,2] print(i) #0 1 print(l[0:2])#[0, 1]
https://www.cnblogs.com/Eva-J/articles/9235899.html
range(0,2) # 只有两位 和列表一样
for i in range(0,2): l = [0,1,2] print(i) #0 1 print(l[0:2])#[0, 1]
https://www.cnblogs.com/Eva-J/articles/9235899.html