結果 : python check if time is in range