結果 : python check if number is in interval