Question: This is my code :

```python
#Choose Report
def chooseReport():
    print "Choose a report."
    while True:
        choice = raw_input("Enter A or B: ")
        if choice == 'a' or choice == 'A':
            reportA()
            break
        elif choice == 'b' or choice == 'B':
            reportB()
            break
        else:
            continue

```

When I input either `a` or `b`, it just asks me to `"Enter A or B"` again. It doesn't go to the functions its supposed to.

Any idea why is this?

Answer: 
The problem is in the `raw_input()`. It returns a string but maybe this string is `"a "` or `"a\n"` though you have entered `"a"` or `"b"`.

I would do this:

```
def chooseReport():
    print "Choose a report."
    while True:
        choice = raw_input("Enter A or B: ")
        if "a" in choice or "A" in choice:
            reportA()
            break
        elif "b" in choice or "B" in choice: 
            reportB()
            break
        else:
            continue

```
Code is fine. I think you call your chooseReport() function in a loop or your input has extra characters and if conditions didn't satisfied.