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