L2 = [item.lower() if isinstance(item, str) else item for item in L1 if isinstance(item, str)]
Sign in to make a reply
Carbon