L1 = ['Hello', 'World', 18, 'Apple', None] L2 = [value.lower() for value in L1 if isinstance(value,str)] p(L2)
Sign in to make a reply
夏蝉live