如何在python3.5中使用CMP

时间:2024-10-13 07:01:24
如何在python3.5中使用CMP

2、python 3.4.3 的版本中但诌诎箬已经没有cmp函数,被operator模块代替,在交互模式下使用时,需要导入模块。在没有导入模块情况下,会出现:

如何在python3.5中使用CMP
如何在python3.5中使用CMP
© 手抄报圈