会员
众包
新闻
博问
闪存
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Jason_Cheng
博客园
首页
新随笔
联系
订阅
管理
2013年4月2日
thinking in c and python
摘要: 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
阅读(131)
评论(0)
推荐(0)
编辑
公告