lst = ['Hello', 'World', 18, 'Apple', 3.14] print([str.lower(i) for i in lst if isinstance(i, str) == True])
Sign in to make a reply
霍墨