Somehow


#1

Somehow I don't know why this code don't work:

def censor(text,word):
    
    m = text.split(word) # returns a list,  splitted in word
    p = '*'*len(word) 
    print p.join(m)

10. Censor
#2

You need to return the censored phrase.