Discuss / Python / 交作业

交作业

Topic source

南城不南_

#1 Created at ... [Delete] [Delete and Lock User]

L=['hello','world',18,'apple',None] b=[s.lower() for s in L if isinstance(s,str)] print(b)


  • 1

Reply