📌  相关文章
📜  python 检查字符串是否有空格 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:50.725000             🧑  作者: Mango

代码示例2
#isspace() is a built-in method used for string handling
string = "My name is"
print(string.isspace())
#It will print True

string = "Hello"
print(string.isspace())
#It will print True