Crie uma Calculadora de Reserva de Ingressos de Cinema - Passo 6

Conte-nos o que está acontecendo:

meu exercicio pede para adicionar o valor True para uma variavel e false para outra, quando faço isso e envio aparece que não devo colocar aspas no valor, sendo que não nenhuma aspas em nenhum dos dois valores

Seu código até o momento

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


# User Editable Region

is_member: True
is_weekend: False

# User Editable Region

Informações do seu navegador:

Agente de usuário: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 OPR/127.0.0.0

Informações do desafio:

Crie uma Calculadora de Reserva de Ingressos de Cinema - Passo 6

review how you assigned a value to variables here

1 Like

But I’m following the instructions as asked and what I’m learning in class; everything there is what the questions asked for because I don’t understand the reason for the error. But I’ll take a closer look here; can I contact you if I need anything else?

you wrote this, this is not how you assign a value

this is how you assign a value

you can’t use : to assign a value

1 Like

I was just noticing that, hahaha, forgive my stupidity and for taking up your time. I need to improve my attention to detail because in programming, any silly mistake like that can cause an error. I apologize again!

1 Like

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