結果 : check if number is within range python