Discuss / Python / 记录: 列表生成式

记录: 列表生成式

Topic source

綾之桜

#1 Created at ... [Delete] [Delete and Lock User]
L2 = [y.lower() for y in L1 if isinstance(y, str)]

  • 1

Reply