L2 = [s.lower() for s in L1 if isinstance(s, str) == True]
# for x in x
# if xxx:
# print(s.lower())
# 注释中梳理了一下列表生成式的执行顺序
Sign in to make a reply
AD兔斯基
L2 = [s.lower() for s in L1 if isinstance(s, str) == True]
# for x in x
# if xxx:
# print(s.lower())
# 注释中梳理了一下列表生成式的执行顺序