結果 : check if value in range python