'>=' not supported between instances of 'str' and 'int'

今天遇到一个bug 


后来了解到 input 输入的是str类型的   

要想实现>= 就要换成int 类型

猜你喜欢

转载自blog.csdn.net/guan__ye/article/details/79769750