发布时间:2019-09-22 07:45:18编辑:auto阅读(3586)
#encoding=utf-8
str=""
if str.strip()=="":
print("str is null")
if not str.strip():
print("str is null")
#encoding=utf-8
str="hello"
if str.strip()=="":
print("str is null")
if str.strip():
print("str is not null")
上一篇: Python断点调试方法
下一篇: Python--生成Wav格式文件
50411
49699
40305
37348
31751
28612
27543
22330
22325
20631
385°
992°
784°
739°
981°
861°
1477°
2772°
2493°
1916°