0

Python challenge

You and three friends go to a baseball game and you offer to go to the concession stand for everyone. They each order one thing, and you do as well. Nachos and Pizza both cost $6.00. A Cheeseburger meal costs $10. Water is $4.00 and Coke is $5.00. Tax is 7%. Task Determine the total cost of ordering four items from the concession stand. If one of your friend’s orders something that isn't on the menu, you will order a Coke for them instead. Input Format You are given a string of the four items that you've been asked to order that are separated by spaces. Output Format You will output a number of the total cost of the food and drinks. Sample Input 'Pizza Cheeseburger Water Popcorn'

10th Oct 2024, 8:27 AM
Victor Joakim
Victor Joakim - avatar
3 odpowiedzi
+ 2
your attempt is missing
10th Oct 2024, 9:27 AM
Mihaly Nyilas
Mihaly Nyilas - avatar
10th Oct 2024, 7:06 PM
ShadowCipher
ShadowCipher - avatar
0
Noted
2nd Nov 2024, 10:40 AM
Victor Joakim
Victor Joakim - avatar