python整数相除得到小数

from __future__ import division

然后再除就可以了

原文地址:https://www.cnblogs.com/andy071001/p/3017200.html