python 中的 int() 与 round

int(x):向下取整

round(x):超过 .5 则向上取整,否则向下取整

原文地址:https://www.cnblogs.com/wbyixx/p/11931078.html