str.isnumeric()
str = u"this2009";
print str.isnumeric()
> False
str = u"23443434";
print str.isnumeric()
> True
a = "u0030" #unicode for 0
b = "u00B2" #unicode for ²
c = "10km2"
d = "-1"
e = "1.5"
print(a.isnumeric()) #True
print(b.isnumeric()) #True
print(c.isnumeric()) #False
print(d.isnumeric()) #False
print(e.isnumeric()) #False
number = "34e.l5p#"
separators = ""
for char in name:
if name.isnumeric():
separators = separators + char
print(separators) # .isnumeric() only prints the separators of the name(4.#)