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