老黄。。 发表于 2022-11-1 10:36:35

帮帮

jackz007 发表于 2022-11-1 10:47:42

a = [ , , ]
b = [ for j in range(len(a) , 0 , -1)] for i in range(len(a))]
for x in b : print(x)

kevinde2022 发表于 2022-11-1 11:56:22

a = [ , , ]
ls = [[],[],[],[],[]]
for i in range(5,0,-1):
    for j in a[::-1]:
      ls.append(j)
for i in ls:
    print(i)

Stubborn 发表于 2022-11-1 12:53:28

a = [ , , ]
页: [1]
查看完整版本: 帮帮