Urutan Python
range(5) sequence 0, 1, 2, 3, 4
range(2,5) sequence 2, 3, 4
range(2,10,2) sequence 2, 4, 6, 8
range(6,1,-1) sequence 6, 5, 4, 3, 2
Lively Llama
range(5) sequence 0, 1, 2, 3, 4
range(2,5) sequence 2, 3, 4
range(2,10,2) sequence 2, 4, 6, 8
range(6,1,-1) sequence 6, 5, 4, 3, 2
# from = 0, to = 10, step/by = 2
even_list = list(range(0,10,2))
print(even_list)