📅  最后修改于: 2022-03-11 14:45:16.415000             🧑  作者: Mango
# 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