SyntaxFix
Write A Post
Hire A Developer
Questions
Two separate checks. Also, use == rather than is to check for equality rather than identity.
==
is
if var=='stringone' or var=='stringtwo': dosomething()