Answer to Question #308926 in Python for Venus Bernabe

Question #308926

Create a simple Python Program about concert ticketing system that allows users who are 18 years old to buy tickets. The ticket prices are as follows.




VIP- 4,500




Patron- 3500




Box regular- 2500





1
Expert's answer
2022-03-10T07:15:53-0500
age=int(input("How old are you?: "))
if age>=18:
    print("1. VIP - 4500")
    print("2. Patron- 3500")
    print("3. Box regular- 2500")
    type=int(input("Select type: "))
    if type ==1:
        print("Ticket price is: 4500")
    elif type ==2:
        print("Ticket price is: 3500")
    elif type ==3:
        print("Ticket price is: 2500")
    else:
        print("Wrong type")
else:
    print("Wrong age")

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS