摘要: 提示错误为: TypeError: '>=' not supported between instances of 'str' and 'int' 因为 input 接收到的都是字符串类型,解决方案是转变字符类型。 score=int(input ("请输入你的成绩:"))if score >= 9 阅读全文
posted @ 2020-04-27 15:34 niel 阅读(2749) 评论(0) 推荐(0)