python if input is not a number