Ответ:
a)16 36
Поэтапно:
x = 4
s - итоговая строка
1)
s = 16
x = 6
2)
s = 16 36
x = 8
б)
20
18
16
14
12
10
8
6
x = 10
print(20)
x = 9
print(18)
3)
print(16)
x = 7
4)
print(14)
5)
print(12)
x = 5
6)
print(10)
7)
print(8)
x = 3
8)
print(6)
x = 2
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
a)16 36
Поэтапно:
x = 4
s - итоговая строка
1)
s = 16
x = 6
2)
s = 16 36
x = 8
б)
20
18
16
14
12
10
8
6
Поэтапно:
x = 10
1)
print(20)
x = 9
2)
print(18)
x = 8
3)
print(16)
x = 7
4)
print(14)
x = 6
5)
print(12)
x = 5
6)
print(10)
x = 4
7)
print(8)
x = 3
8)
print(6)
x = 2