Discuss / Python / 参考示例

参考示例

Topic source

L2=[l.lower() for l in L1 if isinstance(l,str) ]

列表生成器要使用[ ]


  • 1

Reply