title: Finding the sum of even factorials
body: <pre><code>    def factorial(n):
          if n == 0:
              return 1
          else:
              return n * factorial (n-1)
  
  
      def sum_even_factorials(n):
          if n == 0:
              return 1
          elif n % 2 == 0 and n&gt;=0:
              total = 0
              return total + sum(factorial(n))
              n = n - 1
  </code></pre>
  
  <p>What am I doing wrong? I defined the factorial function then proceeded to find the sum of even factorials.</p>