How To Check If A Variable Is A Number Python