会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
NEUSNCP
博客园
首页
新随笔
联系
订阅
管理
2014年9月24日
Python 过滤重复单词
摘要: 描述:一个英文句子仅由单词、逗号、句号、空格组成。要求过滤句子中的重复单词,例如:输入where there is a will, there is a way.输出:where there is a will waystr = raw_input("");a = []str = str.repla...
阅读全文
posted @ 2014-09-24 20:24 neuhxy
阅读(2306)
评论(0)
推荐(0)
编辑
公告