1)
s = 0
for i in range (25,57+1):
if i%2 == 0:
s+=i
print(s)
2)
p = 1
for i in range (41,60+1):
if i%4 == 0:
p*=i
print(p)
3)
for i in range (15,60+1):
if i%2 ==0:
print(i)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
1)
s = 0
for i in range (25,57+1):
if i%2 == 0:
s+=i
print(s)
2)
p = 1
for i in range (41,60+1):
if i%4 == 0:
p*=i
print(p)
3)
for i in range (15,60+1):
if i%2 ==0:
print(i)