`range(0, upper_bound)` is equivalent to `range(upper_bound)`, so you might as well omit the `0`.