找到问题出在哪里了,ReadString()方法最后有一位\n,需要剔除,str = str[:len(str)-1].
点赞 评论

相关推荐

牛客网
牛客企业服务