sum = 0
m = 10
k = 0
print(sum, m, k)
while k != 5:
k = k + 1
sum = k + m
m = m - 3
0 10 0
11 7 1
9 4 2
7 1 3
5 -2 4
3 -5 5
0
11
9
7
5
3
sum = 0
m = 10
k = 0
print(sum, m, k)
while k != 5:
k = k + 1
sum = k + m
m = m - 3
print(sum, m, k)
Вывод:0 10 0
11 7 1
9 4 2
7 1 3
5 -2 4
3 -5 5
ответ:0
11
9
7
5
3