###range(start, stop[, step]) -> range object
>>> range(0,5)
range(0, 5)
>>> c = [i for i in range(0,5,2)]
>>> c
[0, 2, 4]
###arange([start,] stop[, step,], dtype=None) -> ndarray
>>> np.arange(3,7,2)
array([3, 5])
Go to list of users who liked
More than 3 years have passed since last update.
###range(start, stop[, step]) -> range object
>>> range(0,5)
range(0, 5)
>>> c = [i for i in range(0,5,2)]
>>> c
[0, 2, 4]
###arange([start,] stop[, step,], dtype=None) -> ndarray
>>> np.arange(3,7,2)
array([3, 5])
Register as a new user and use Qiita more conveniently
Go to list of users who liked