Pyhton कैसे की जाँच करने के लिए रिक्त स्थान के लिए
कोड उदाहरण
0
0
अजगर अंतरिक्ष
# isspace() is method of the <str> returns True if the string has only empty spaces
print(" ".isspace()) # True
print(" ".isspace()) # True
print(" test".isspace()) # False
print("".isspace()) # False