报错原因:input()输入的是字符串,当输入数字时,类型不匹配 解决方法:int(input()) 相关文章: 2022-12-23 2022-12-23 2021-06-25 2021-12-26 2022-12-23 2022-12-23 2022-12-23