Discuss / Python / 嘿嘿嘿

嘿嘿嘿

Topic source

AD兔斯基

#1 Created at ... [Delete] [Delete and Lock User]

L2 = [s.lower() for s in L1 if isinstance(s, str) == True]

# for x in x

#     if xxx:

#         print(s.lower())

# 注释中梳理了一下列表生成式的执行顺序


  • 1

Reply