def get_day_or_night():
    " return 'day' or 'night' based on current hour "
    hour = int(datetime.datetime.now().strftime('%H'))
    if ((hour >= 18) or (hour <= 5)):
        return 'night'
    return 'day'
return 'day' or 'night' based on current hour
def get_day_or_night():
    "  "
    hour = int(datetime.datetime.now().strftime('%H'))
    if ((hour >= 18) or (hour <= 5)):
        return 'night'
    return 'day'