草庐IT

python - Python 3 中的 sys.maxint 是什么?

我一直在尝试找出如何表示最大整数,并且我已经阅读过使用"sys.maxint"。但是,在Python3中,当我调用它时,我得到:AttributeError:module'object'hasnoattribute'maxint' 最佳答案 Thesys.maxintconstantwasremoved,sincethereisnolongeralimittothevalueofintegers.However,sys.maxsizecanbeusedasanintegerlargerthananypracticallistorst
12