楼主,方法1的代码的第二行打错了。word_list = input_str.strip().split()
6

相关推荐

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