[x.lower() if isinstance(x,str) else x for x in L1]
三目运算符:
true_part if condition else false_part
http://wangye.org/blog/archives/690/
Sign in to make a reply
陈日仙
三目运算符:
http://wangye.org/blog/archives/690/