demo_ref_string_isspace2.py:
txt = " s " x = txt.isspace() print(x)
➜ begtut>python demo_string_isspace2.py
False