列表 利用推导式创建列表 x = [0] * 5 print(x, type(x)) x = [0 for i in range(5)] x = [i for i in range(10)] x = [i for i in range(1,