L1=['Hello','APPle',18,'Apple',None]
print([s.lower() for s in L1 if isinstance(s,str)])
Sign in to make a reply
vae76058
L1=['Hello','APPle',18,'Apple',None]