結果 : check value is in range python