← 返回列表

Python3 字符串String Isspace 方法

Python3 字符串String Isspace 方法 #!/usr/bin/python3 str = " " print (str.isspace()) str = "This is string example....wow!!!" print (str.isspace())

Python3 字符串String Isspace 方法

#!/usr/bin/python3

str = "       "
print (str.isspace())

str = "This is string example....wow!!!"
print (str.isspace())

打开资源 ↗

交流与评论