desislava_topuzakova

07. Working Hours

Feb 21st, 2021
713
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. hour = int(input())
  2. day_of_week = input()
  3.  
  4. if 10 <= hour <= 18 and day_of_week != "Sunday":
  5.     print('open')
  6. else:
  7.     print('closed')
RAW Paste Data