full_hope
full_hope
题解
题解 | #单词倒排#
全部文章
题解
归档
标签
去牛客网
登录
/
注册
题解 | #单词倒排#
321 浏览
0 回复
2022-02-02
full_hope
+关注
单词倒排
http://www.nowcoder.com/practice/81544a4989df4109b33c2d65037c5836
import re s = input() f = re.sub('[^\w]',' ',s) f = f.split() print(*f[::-1])
Python3
举报
收藏
赞
评论加载中...