Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- working_hours = int(input())
- day_of_week = input()
- if 10 <= working_hours <= 18 and (
- 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'):
- print('open')
- else:
- print('closed')
Advertisement
Add Comment
Please, Sign In to add comment