I have no idea why this isn't working

print (“This is a program to simplify intake into the suicide hotline.”)
answer = input(“Are you thinking of hurting yourself?”)

if answer == “Yes” or “yes”:
print(“Its going to be okay.”)
else:
print(“Is it someone you know?”)

I think the quote’s are slanty ones (”) and it only works with these ("). I could get it to work after I changed them and also added in answer = to the second “yes”.

Hope this helps!

print ("This is a program to simplify intake into the suicide hotline.")
answer = input("Are you thinking of hurting yourself?")

if answer == "Yes" or answer == "yes":
  print("It's going to be okay.")
else:
  print("Is it someone you know?")
1 Like