Discuss / Python / 这么简单!

这么简单!

Topic source

L1 = ['Hello', 'World', 18, 'Apple', None] print('结果为: L2 =',[s.lower() for s in L1 if isinstance(s, str) and s != None])


  • 1

Reply