L=['hello','world',18,'apple',None] b=[s.lower() for s in L if isinstance(s,str)] print(b)
Sign in to make a reply
南城不南_
L=['hello','world',18,'apple',None] b=[s.lower() for s in L if isinstance(s,str)] print(b)