Python Check If An Input Is An Integer