Demo the range function
print range(5), range(2, 5), range(0, 10, 2) print range(-5, 5) print range(5, -5, -1)