What's wrong with my code?

what am I doing wrong here?

the error message makes so sense whatsoever;
I’ve used word as a parameter like they’ve asked me to!

Be sure to unindent out of the for loop and return uniques.

Did you run that function without uncommenting the function calls at the bottom?