Discuss / Python / 加油啊

加油啊

Topic source

L = ['Hello', 'World', 'IBM', 'Apple',18,None] [s.lower() for s in L if isinstance(s, str)] ['hello', 'world', 'ibm', 'apple']


  • 1

Reply