L2 = [] for s in L1: if isinstance(s,str): L2.append(s.lower()) else: pass
多谢啦,学习了
Sign in to make a reply
夏天树荫下的茶馆
L2 = [] for s in L1: if isinstance(s,str): L2.append(s.lower()) else: pass