How To Check If Input Is Integer Or Float Python