Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hour_of_the_day = int(input())
- day_of_week = input()
- if day_of_week == "Monday" or day_of_week == "Tuesday" or day_of_week == 'Wednesday' or day_of_week == 'Thursday'\
- or day_of_week == 'Friday' or day_of_week == 'Saturday':
- if 10 <= hour_of_the_day <= 18:
- print("open")
- else:
- print('closed')
- else:
- print('closed')
Advertisement
Add Comment
Please, Sign In to add comment