I'm just starting out with Python, and for some reason I am getting a syntax error. This only happens when I run the whole program at once, but if I run only this little bit, it works fine.

while choice != "q":
    choice = raw_input("What would you like to find the area of?"
    if choice == "s":
        l = input("Length of one side: ")
        print "The area of this square is", square(l)
        options()

Just a simple area calculator from an online tutorial. When I run the entire program it says that the : after the "s" is a syntax error. If I remove the : says the "l" before the input is a syntax error. I can post the whole program if necessary.

I just noticed a missing )...please ignore this question.