Advertisement
ydpetkov

weekend_or_workoing_day

Jul 18th, 2022
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. day_of_the_week = input()
  2.  
  3. if day_of_the_week == "Monday" or \
  4. day_of_the_week == "Tuesday" or \
  5. day_of_the_week == "Wednesday" or \
  6. day_of_the_week == "Thursday" or\
  7. day_of_the_week == "Friday":
  8. print("Working day")
  9. elif day_of_the_week == "Saturday" or day_of_the_week == "Sunday":
  10. print("Weekend")
  11. else:
  12. print("Error")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement