Discuss / Python / 练习

练习

Topic source

Herman.

#1 Created at ... [Delete] [Delete and Lock User]
L = ['Hello', 'World', 18, 'Apple', None]print([s.lower() for s in L if isinstance(s, str)])

  • 1

Reply