摘要:
def censor(text, word): text_backup = "" text_i = 0 word_len = len(word) text_len = len(text) while(True): text_to = text_i + word_len if text_i < text_len: if text_to <= text_len: if text[text_i:text_to] == word: text_i += wo... 阅读全文
posted @ 2013-04-02 10:26
Jason_Cheng
阅读(132)
评论(0)
推荐(0)