记lower() 方法是字符串对象的方法,列表对象没有 lower() 方法。
lower()
L2 = [x.lower() for x in L1 if isinstance(x, str)==True]
Sign in to make a reply
倒吃甘蔗
记
lower()
方法是字符串对象的方法,列表对象没有lower()
方法。