Sichanov

open closed

May 27th, 2021
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.15 KB | None | 0 0
  1. time_hour = int(input())
  2. day_of_week = input()
  3. if day_of_week == 'Sunday' or not 10 <= time_hour <= 18:
  4.     print('closed')
  5. else:
  6.     print('open')
Advertisement
Add Comment
Please, Sign In to add comment