python的range是不是支持小数间隔的。
要使用小数间隔可以使用numpy的arange。
123
import numpynumpy.arange(1, 2, 0.1)
1520
617
603
258
202
近期评论