2.4习题

-- coding: utf-8 --

"""
Created on Tue Sep 17 19:39:40 2024

@author: 朱尧
"""

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-27 23:42  世梦  阅读(12)  评论(0)    收藏  举报