python
numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
total = 0
for num in numbers:
if num % 2 == 0:
total += num ** 2
print(total)
python
from plan import plan
numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
@plan
def compute_square_sum(numbers):
total = 0
for num in numbers:
if num % 2 == 0:
total += num ** 2
return total
print(compute_square_sum(numbers))
pip install plan