Tell us what’s happening:
No me detecta el comando ELIF… Lo he modificado de varias formas, hasta con IA, y me sigue tirando error ![]()
Your code so far
# User Editable Region
base_price = 15
age = 21
seat_type = 'Gold'
show_time = 'Evening'
is_member = False
is_weekend = False
if age >= 21 or (age >= 18 and show_time != 'Evening'):
print('Ticket booking condition satisfied')
service_charges = 0
if seat_type == "Premium":
service_charges = 5
elif seat_type == "Gold":
service_charges = 3
else:
service_charges = 0
print('Service charges:', service_charges)
# 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/145.0.0.0 Safari/537.36
Challenge Information:
Build a Movie Ticket Booking Calculator - Step 20