python实现 vector

2023-01-31 04:01:10 python vector

#_*_coding:utf-8_*_
list = []
list1 = []

for i in range(0,6):
    for j in range(0,i+1):
        list.append(j)
    list1.append(list)
    list = []
print(list1)

 

相关文章