desislava_topuzakova

02. Weekend or Working Day

Feb 21st, 2021
657
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Monday, Tuesday, Wednesday, Thursday, Friday -> Working day
  2. # Sunday , Saturday -> Weekend
  3. # another -> Error
  4.  
  5. day_of_week = input()
  6.  
  7. if day_of_week == "Monday" or day_of_week == "Tuesday" or day_of_week == "Wednesday" or day_of_week == "Thursday" or day_of_week == "Friday":
  8.     print("Working day")
  9. elif day_of_week == "Saturday" or day_of_week == "Sunday":
  10.     print("Weekend")
  11. else:
  12.     print("Error")
RAW Paste Data