Advertisement
pacho_the_python

Untitled

Sep 27th, 2021
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. hour = int(input())
  2. week_day = input()
  3.  
  4. if hour < 10 or hour > 18 or week_day == "Sunday":
  5.     print("closed")
  6. else:
  7.     print("open")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement