Discuss / Python / python确实很强大,一行就能搞定。

python确实很强大,一行就能搞定。

Topic source

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


  • 1

Reply