Discuss / Python / L2 == ['hello', 'world', 'apple'] 哈哈 就说通不通过吧

L2 == ['hello', 'world', 'apple'] 哈哈 就说通不通过吧

Topic source

Zlstg

#1 Created at ... [Delete] [Delete and Lock User]

L2 = [x.lower() for x in L1 if isinstance(x, str)]  开个玩笑


  • 1

Reply