Discuss / Python / 好好查查lower函数

好好查查lower函数

Topic source

邢兆年

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

  • 1

Reply