好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

python-divmod数字处理函数

python每日一函数 - divmod数字处理函数

Changed in version 2.3: Using divmod() with complex numbers is deprecated.

python代码实例:

>>> divmod(9,2)
(4, 1)
>>> divmod(11,3)
(3, 2)
>>> divmod(1+2j,1+0.5j)
((1+0j), 1.5j) 

查看更多关于python-divmod数字处理函数的详细内容...

  阅读:45次