WebLinuxStudy

导航

 
dict = {}

for i in range(1, 6):
if i not in dict:
dict[i] = []
for j in range(101, 106):
dict[i].append(j)

print(dict)


posted on 2019-11-28 23:05  WebLinuxStudy  阅读(6535)  评论(0编辑  收藏  举报