leetle

Daily challenge for 2025-06-30

181. Find Sum of Even Numbers

Write a function solve that takes a list of integers and returns the sum of all even numbers in the list.

Example:
Input: [1, 2, 3, 4, 5, 6]
Output: 12

The even numbers are 2, 4, and 6. Their sum is 2 + 4 + 6 = 12.

Run this challenge interactively in Python or JavaScript when the app loads.