import operator #首先要导入运算符模块
operator.gt(1,2) #greater than(大于)
operator.ge(1,2) #greater and equal(大于等于)
operator.eq(1,2) #equal(等于)
operator.le(1,2) #less and equal(小于等于)
operator.lt(1,2) #less than(小于)
.ge()函数
最新推荐文章于 2023-08-12 21:53:39 发布