TypeError: '<=' not supported between instances of 'str' and 'int' 原因:input()输入的是字符串,<=两边的数据类型不一致 解决:int(input())