in reply to Re: Validating numeric input
in thread Validating numeric input

No, that code checks for a string of exactly two digits, not two numbers (Your print is correct, your text statement is not.)

It also fails for numbers in hex and numbers in scientific notation.