Discuss / Python / 练习

练习

Topic source
# 练习
l = ['Hello' , 18 , 'World' , 19 , 'You']
[s.lower() for s in l if isinstance(s , str) == True]

  • 1

Reply