"Derek Rhodes" <rhoder at worldpath.net> writes: > if type(word) == str: > print "it's a word" > test([word]) The last line tests [word] and throws away the value. YOu have to say "return test([word])".