You said you wanted to only add even numbers in the range. But you're actually adding all of the numbers in the range.

Put a print statement inside your loop so you know what's going on. Or better...