Sichanov

ss

Feb 3rd, 2021
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.27 KB | None | 0 0
  1. time = int(input())
  2.  
  3. day = input()
  4.  
  5. if 10 <= time <= 18:
  6.     if day == 'Monday' or day == 'Tuesday' or day == 'Wednesday' or day == 'Thursday' or day == 'Friday' or day == 'Saturday':
  7.         print('open')
  8.  
  9.     else:
  10.         print('closed')
  11. else:
  12.     print('closed')
Advertisement
Add Comment
Please, Sign In to add comment