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