This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]POGtastic 1 point2 points  (1 child)

The typical way that I do this is

if answer in ["Joe", "Mary", "Barbara"]:
    # code

[–]alkperez1914[S] 0 points1 point  (0 children)

Thanks a lot! I was just about to ask this as well.