python if input is number