48.6k views
19 votes
I want this program to ask the user to name of the Olympic values and if they correctly name one it will says “that’s correct” but whenever I type anything it will still say it’s correct even though it’s wrong.

I want this program to ask the user to name of the Olympic values and if they correctly-example-1
User V H
by
7.2k points

1 Answer

8 votes
You have to say:

if values == (“respect”) or values == (“excellence”) or values == (“Friendship”)

Make sure to say “values == “after each “or”
User Dracorat
by
7.2k points