Build a Movie Ticket Booking Calculator - Step 3

Tell us what’s happening:

Unsure why I am receiving an error mesage of invalid syntax for my > function?

Your code so far

base_price = 15
age = int(21)
seat_type = 'Gold'
show_time = 'Evening'


# User Editable Region

if age: > 17
    print("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/147.0.0.0 Safari/537.36 Edg/147.0.0.0

Challenge Information:

Build a Movie Ticket Booking Calculator - Step 3

Hi @LaurenKS,

Where should the colon go in a Python if statement?

Happy coding!