步长为float

 

 

import numpy as np

for i in np.arange(0.005, 0.05, 1):
print(i)



posted @ 2018-05-16 23:29  papering  阅读(199)  评论(0编辑  收藏  举报