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: 
First, your code works fine, the most probably error is that you are writing a wrong input (e.g: with more characters). To solve that you could use `"a" in choice or "A" in choice`. But if it isn't working... keep reading.

It's seems that `break` isn't affecting the `while loop`, I don't have python 2 so I am not very sure why (in python 3 [after change `raw_input` to `input` and `print` to `print()`] your code works perfect). So you should use the condition of the `while` to break it. 

`while True` work theorically for ever because each time the code is executed it checks the condition -`True`- and because it's true it keeps looping.  

You could manipulate that condition in order to break the loop (don't allow execute again its code).

For example you could use this:

```
#Choose Report
def chooseReport():
    print "Choose a report."
    allow = True    # allow start as True so the while will work
    while allow:
        choice = raw_input("Enter A or B: ")
        if choice.lower().strip() == "a":    # This is better. .lower() make "A" > "a", and .strip() delete " a " to "a", and "a/n" to "a".
            reportA()
            allow = False   # allow now is False, the while won't execute again
        elif choice.lower().strip() == "b":
            reportB()
            allow = False   # allow now is False, the while won't execute again
        # The else is complete redundant, you don't need it

```
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.