📜  python 是空间 - Python 代码示例

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

代码示例1
# isspace() is method of the  returns True if the string has only empty spaces
print(" ".isspace())  # True
print("     ".isspace()) # True
print(" test".isspace())  # False
print("".isspace()) # False