Τι θα εμφανίσει;
for i in range(0):
print i
τίποτα
0
τι θα εμφανίσει;
for i in range(10, 2, 3):
10, 7, 4
10, 8, 6, 4
for i in range(5, 6, 5):
5, 10
5
for i in range(-4,0):
1, 2, 3, 4
-4, -3, -2, -1
for i in range(2, 6, 2):
4, 2
2, 4, 6
2, 4
for i in range(100, 10, -50):
100, 50
10, 60
100, 50, 0
for i in range(3, 3, 3):
3, 3, 3
3
for i in range(-6, 6, 3):
3, 6
-6, -3, 0, 3
-6, -3, 0, 3, 6
for i in range(-2,2):
-2, -1, 0, 1
2, 1, 0
for i in range(10, 22, -3):
10
22, 19, 16, 13