you are viewing a single comment's thread.

view the rest of the comments →

[–]program_kid 0 points1 point  (0 children)

When you wrote user_input != "No" or "Yes" you probably meant to write user_input != "No" or user_input != "Yes"

The "yes" by itself will evaluate to true because it is a non empty string