I think the problem is the parentheses in your print statement. Try changing this:

Code:
print ("There are %s letters in the word.") % (len(word))
To this:
Code:
print ("There are %s letters in the word." % len(word))
That way the print function gets just one argument, an expression that evaluates to the finished string.