print("1-e:")
for i in range(10, 21):
if i%2==0: # Проверка на чётность
print(i)
print()
print("2-e:")
s = 0
for i in range(15, 31):
s += i
print(s)
print("3-e:")
for i in range(20, 31):
print(i**3)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
print("1-e:")
for i in range(10, 21):
if i%2==0: # Проверка на чётность
print(i)
print()
print("2-e:")
s = 0
for i in range(15, 31):
s += i
print(s)
print()
print("3-e:")
for i in range(20, 31):
print(i**3)