Check If Input Is Numeric Python