Discuss / Python / 成功运行

成功运行

Topic source

L = ['Hello', 'World', 18, 'Apple', None] lp = [w.lower() for w in L if isinstance(w,str)] print(lp)


  • 1

Reply