list(range(10)) # [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] list(range(0,10)) # [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] list(range(0,10,2)) # [0, 2, 4, 6, 8]