結果 : check if value within range python