Check If String Ends With Number Python