demo_ref_string_isnumeric2.py:
a = "u0030" #unicode for 0 b = "u00B2" #unicode for ² c = "10km2" print(a.isnumeric()) print(b.isnumeric()) print(c.isnumeric())
➜ begtut>python demo_string_isnumeric2.py
True
True
False