demo_ref_string_isdigit2.py:
a = "\u0030" #unicode for 0 b = "\u00B2" #unicode for ² print(a.isdigit()) print(b.isdigit())
C:\Users\My Name>python demo_string_isdigit2.py
True
True