if (money>9):
If you're evaluating integers you can just go one below the minimum number. If you really, really need to evaluate from a specific number, you can use >= which evaluates for equal or higher. If you need to do the opposite (equal or lower), you can use <= but make sure they're in that order.