2.4

程序文件ex2_4.py

a=[[1,2,3],[4,5,6],[7,8,9]]
d=[c for b in a for c in b]
print(d)

posted @ 2024-10-14 09:53  qi11  阅读(40)  评论(0)    收藏  举报