Build a Movie Ticket Booking Calculator - Step 14, even I followed the instructions I didn't get approve from the system to pass to step 15. The last if

Tell us what’s happening:
Describe your issue in detail here.

I had been stuck at the chapter of Build a Movie Ticket Booking Calculator, step 14

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')

if age >= 21:
    print('User is eligible for Evening shows')
else:
    print('User is not eligible for Evening shows')

is_member = False
is_weekend = False

discount = 0
if is_member and age >= 21:
    discount = 3
    print('User qualifies for membership discount')
else:
    print('User does not qualify for membership discount')
print('Discount:', discount)

extra_charges = 0
if is_weekend:
    extra_charges = 2
    print('Extra charges will be applied')
else:
    print('Extra charges:', extra_charges)
if is_weekend or show_time == 'Evening':
    print(is_weekend or show_time == 'Evenig')   


    

Your mobile information:

25062RN2DY - Android 16 - Android SDK 36

Challenge: Build a Movie Ticket Booking Calculator - Step 14

Link to the challenge:
https://www.freecodecamp.org/learn/python-v9/workshop-movie-ticket-booking-calculator/st

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

It looks like you may have changed the starting code in areas you were not asked to change, which will cause the tests to fail. Please click the reset button to restore the original code and try again.

image

Please write only on this line. Do not make other changes.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.