demo_ref_string_isnumeric.py:
txt = "565543" x = txt.isnumeric() print(x)
➜ begtut>python demo_string_isnumeric.py
True