after your if condition you should have a colon. (end of line 6) (and then make sure all lines are indented properly)
At line 7, why do you have a colon after "word"? It doesn't belong there.
Also, word is a variable, not a string so don't use quotation marks
If you still experience problems after this, post an updated version of your code