python how to check if string is an int code example Example: python check if string is number txt = "565543" x = txt.isnumeric()