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