发布时间:2019-09-08 09:11:16编辑:auto阅读(2219)
a = [1,2,3]
b = a if len(a) != 0 else ""
b = [1,2,3]#结果
a = []
b = a if len(a) != 0 else ""
b = ""#结果
上一篇: python获取当前目录路径和上级路径
下一篇: python图片转换pdf
51553
51121
41650
38407
32893
29871
28587
23543
23475
21822
1968°
2673°
2228°
2163°
2611°
2189°
2923°
4848°
4687°
3331°