結果 : check if value is between two values python