função range python code example
Example: range python
range(4) # [0, 1, 2, 3] 0 through 4, excluding 4
range(1, 4) # [1, 2, 3] 1 through 4, excluding 4
range(1, 10, 2) # [1, 3, 5, 7, 9] 1 through 10, counting by 2s
range(4) # [0, 1, 2, 3] 0 through 4, excluding 4
range(1, 4) # [1, 2, 3] 1 through 4, excluding 4
range(1, 10, 2) # [1, 3, 5, 7, 9] 1 through 10, counting by 2s