s = 0
for i in range(6,21,2):
s += i
print(s)
summ = 0
for i in range(5, 20+1):
if i % 2 == 0:
summ += i
print(summ)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
s = 0
for i in range(6,21,2):
s += i
print(s)
summ = 0
for i in range(5, 20+1):
if i % 2 == 0:
summ += i
print(summ)