How to check if a string only contains whitespace in Python
Do you know how to check if a string only contains whitespace in Python? The .isspace() method is perfect for this. Estefania shows you how it works.
freeCodeCamp.org
Learn to code for free....