結果 : python check if time is within range