結果 : how to check if an integer is in a range python