import datetime

start = datetime.time(6, 0, 0)
end = datetime.time(6, 0, 15)

def vendor_time_in_range(start, end, x):
    if start <= end:
        return start <= x <= end
    else:
        return start <= x or x <= end

print("请输入当前时间") 
if vendor_time_in_range(start,end,datetime.time(int(input("时:",)),int(input("分:",)),int(input("秒:",))))==False:
    print("已经结束咧!你没菜吃了")
else:
    print("很蓝的啦")

我们所度过的每个平凡的日常,也许就是连续发生的奇迹