python实现 vector

发布时间:2019-09-02 08:07:17编辑:auto阅读(3366)

    #_*_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)

     

关键字