I want to create something like this:
answer = input("What's your name?")
if answer == "Mike":
# code
if answer == "John":
# code
else:
# code
What I want to do is to write Mike
or MIKE
or mIke
... (and same with John
) and make all of that cases True
, but I don't know how to do that instead of using answer.lower()
, answer.upper()
...