Advertisement
ydpetkov

cinema_ticket

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