Build a Movie Ticket Booking Calculator - Step 3

Tell us what’s happening:

can someone help me to figure out the mistake that I have done in this code

Your code so far

base_price = 15
age = 21
seat_type = 'Gold'
show_time = 'Evening'

# User Editable Region
if age>17:
    User is eligible to book a ticket

# 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/151.0.0.0 Safari/537.36 Edg/151.0.0.0

Challenge Information:

Build a Movie Ticket Booking Calculator - Step 3

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/workshop-movie-ticket-booking-calculator/6958dd85587e10c99162dd81.md at main · freeCodeCamp/freeCodeCamp · GitHub

Hi @abuu2k24,

Inside the body of the if statement, print User is eligible to book a ticket. This will print the message only when the user’s age is greater than 17.

Remember to indent the body of the if statement and surround the message with single or double quotes inside the print() call.

This instruction is asking you to print the message. Do you remember how to use the print function?

Happy coding