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