Ответ:
a) for i in range(10):
if i%2 == 0:
print(i)
Result:
0
2
4
6
8
b) for i in range(4):
print(i*2)
1
3
c) x = 2
while x<=5:
x = x + 1
print(x, end="")
3456
Объяснение:
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Verified answer
Ответ:
a) for i in range(10):
if i%2 == 0:
print(i)
Result:
0
2
4
6
8
b) for i in range(4):
print(i)
print(i*2)
Result:
0
0
1
2
2
4
3
6
c) x = 2
while x<=5:
x = x + 1
print(x, end="")
Result:
3456
Объяснение: