import numpy as np
s = np.arange(0, 1, 0.1)
print s
[0. 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9]
转载于:https://www.cnblogs.com/nyist-xsk/p/9730174.html
import numpy as np
s = np.arange(0, 1, 0.1)
print s
[0. 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9]
转载于:https://www.cnblogs.com/nyist-xsk/p/9730174.html