Question: I'm new to Python and I am currently doing some work with IF statements.
This is what I have so far...

```
print("Hello")
myName = input("What is your name?")
print("Hello " +myName)
myAge = int(input("How old are you?"))
if myAge <=18:
    myResponse = input("You must still be at school?")
    if myResponse == "Yes" or "yes" or "YES" or "Y" or "yEs" or "y":
        mySchool = input("What school do you go to?")
        print (mySchool, "that is a good school I hear")
    if myResponse == "No" or "n" or "N" or "NO":
        print("Lucky you, you have lots of free time!")
if myAge >=19:
    myResponse = input("You must have a job?")
    if myResponse == "Yes" or "yes" or "YES" or "Y" or "yEs" or "y":
        myWork = input("What do you do?")
        print (myWork, "Thats a tough job")
    if myResponse == "No" or "n" or "N" or "NO":
        print("Lucky you, you have lots of free time!")

```

I want the user to be able to answer a question with a one word answer however have various options that would be recognized by the program for example "No", "NO" and "no" or "yes", "YES" and "Yes".

I have just figured out this way of doing it seen above but is there a better way it should be done?

Bare in mind I am new to this so it is probably a silly question.
Any help would be greatly appreciated.

Si

Answer: 
This condition checks that myRespone is either `yes` or `"y"` and is case insensitive (meaning that `yes`, `YeS`, and others are all valid)

```
myResponse.lower() in ["yes","y"]

```
With string functions:

```
if myResponse.upper() == 'NO':
    # do something

```

Or:

```
if myResponse.lower() == 'no':
    #do something

```