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