全部转换为小写 strlist=['abC','dEf',123,'Wea'] strlist=[strs.lower() if isinstance(strs,str) else strs for strs in strlist \ ] print(strlist)