摘要:
colors = ['black', 'white']sizes = ['s', 'm', 'l']tshirts = [(color, size) for color in colors for size in sizes]print(tshirts)#列表推导的作用只有一个,生成列表。#生成器表 阅读全文
posted @ 2022-01-05 16:43
小小白ppboom
阅读(42)
评论(0)
推荐(0)
浙公网安备 33010602011771号