题解 | #求最小公倍数#

单词倒排

http://www.nowcoder.com/practice/81544a4989df4109b33c2d65037c5836

while True:
    try:
        string = input()
        for i in string:
            if i in ['$','*','!','#']:
                string = string.replace(i,' ')
            else:
                continue 
        list1 = string.strip().split()
        list2 = []
        for i in list1:
            list2.insert(0,i)
        print(' '.join(list2))
    except:
        break 
全部评论

相关推荐

LastWh1spe...:ssob真有些人和那个没睡醒一样
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务