Run »
txt = "50800" x = txt.isdigit() print(x)
True