'float' object cannot be interpreted as an integer

非整数的步长会报:'float' object cannot be interpreted as an integer这个错误

一定要整数
posted @ 2018-01-03 15:56  爱吃醋的工程师  阅读(13059)  评论(0编辑  收藏  举报