# Answer to Question #3372 in Python for mukunda

Write Program to print sum of n even numbers in recursive method

def sum_even_numbers (n):

if n == 0: return 0

return 2 * n + sum_even_numbers(n-1)

print(sum_even_numbers(7))

Need a fast expert's response?

Submit order
and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

## Comments

## Leave a comment