τι θα εμφανίσει;
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(10, 2, 3):
print i
10, 8, 6, 4
10, 7, 4
τίποτα
Τι θα εμφανίσει;
for i in range(4,4):
4, 4
4
for i in range(1):
print 'Python'
0
Python
for i in range(-4,0):
-4, -3, -2, -1
1, 2, 3, 4
for i in range(4,0):
4, 3, 2, 1
for i in range(-2,2):
2, 1, 0
-2, -1, 0, 1
for i in range(2, 6, 2):
2, 4, 6
4, 2
2, 4
for i in range(3, 3, 3):
3, 3, 3
3