Tell us what’s happening:
My code is perfect but i still get an error message saying
“You should print User is eligible for Evening shows inside your new if statement. Remember to surround the message with single or double quotes.”
Here is the code:
base_price = 15
age = 21
seat_type = ‘Gold’
show_time = ‘Evening’
if age > 17:
print(‘User is eligible to book a ticket’)
if age >= 21:
print(‘User is elligible for Evening shows’)
Your code so far
base_price = 15
age = 21
seat_type = 'Gold'
show_time = 'Evening'
if age > 17:
print('User is eligible to book a ticket')
# User Editable Region
if age >= 21:
print('User is elligible for Evening shows')
# User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36 Edg/144.0.0.0
Challenge Information:
Build a Movie Ticket Booking Calculator - Step 4