Sum of Even Numbers

Easy

📝 Description

Calculate the sum of even numbers in a list

Input Format

A list of integers

Output Format

Sum of even numbers

Constraints

List length ≤ 100

🔍 Sample Input

1 2 3 4 5 6
            

✅ Sample Output

12
            

Code Editor

Please login to run and submit code.

Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run