Sichanov

working hours 2

May 25th, 2021
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. hour = int(input())
  2. day = input()
  3. if day == 'Sunday':
  4.     print('closed')
  5. else:
  6.     if 10 <= hour < 18:
  7.         print('open')
  8.     else:
  9.         print('closed')
  10.  
Advertisement
Add Comment
Please, Sign In to add comment