s=0
for i in range(1,16,2):
s+=i
print(s)
Объяснение:
a = 0
for i in range(1, 16):
if i%2 == 0:
a += i
print(a)
s=0
for i in range(1,16,2):
s+=i
print(s)
Объяснение:
a = 0
for i in range(1, 16):
if i%2 == 0:
a += i
print(a)