Sign up to request clarification or add additional context in comments.
Comments
4
range generates a sequence of numbers - a range. For example, range(0,5) is equivalent to [0, 1, 2, 3, 4]. It's signature is range(start, stop, stride), which in C would be
if you look up the range function you will notice that it actually can take three arguments. The third value is the amount to increment by, which is 1 by default. Just change to