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.
In reply to Re^2: Validating numeric input
by VSarkiss
in thread Validating numeric input
by Kaire
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |