源代码
a = "\u0030" #unicode for 0 b = "\u00B2" #unicode for ² c = "10km2" print(a.isnumeric()) print(b.isnumeric()) print(c.isnumeric())
运行结果