bisect_left为相同的参数返回不同的值

时间:2017-05-24 12:08:28

标签: python

我打电话给bisect_left两次,就像那样:

index = bisect_left([0.01,0.02,0.03,0.04,0.05],0.05)

获得index=4后,index=5一次。 有人遇到过这个bug吗? 谢谢 R.D。

0 个答案:

没有答案