Question: I am trying to create a conditional statement that doesn't appear to be working in my Python code. I have tried to read and understand why, and discretely stated there doesn't appear to be a flaw in the booleans. But when I try to place them into a conditional statement, I get syntax errors. Maybe someone can take a look and examine why my code is failing in this instance:

```
userinput = raw_input("Please enter a word: ")

if (len(userinput) > 1 and userinput.isalpha() == True):
    print "Thanks for entering a word."
else:
    print "That was not an acceptable word."

```

Specifically I recieve a syntax error that states:

```
if len(userinput) > 1 and userinput.isalpha() == True):
SyntaxError: invalid syntax                           ^

```

Answer: 
The traceback you've pasted shows different code from your original snippet. You have an extra close bracket after `len(userinput)`, which is the cause of the error.
I made three corrections:

* The first is in the if statement (isalpha() already returns a boolean)
* The second is the strip function in order to remove extra spaces at the end of the input
* The third are brackets around print strings (in order to make it compatible with python3)

The final code is:

```
userinput = raw_input("Please enter a word: ").strip()

if (len(userinput) > 1 and userinput.isalpha()):
    print ("Thanks for entering a word.")
else:
    print ("That was not an acceptable word.")

```