L2=[] for i in L1: if isinstance(i,str)==True: L2.append(i) L2=[s.lower() for s in L2]
Sign in to make a reply
冲浪小白兔
L2=[] for i in L1: if isinstance(i,str)==True: L2.append(i) L2=[s.lower() for s in L2]