title: Create a function that calculate the sum of odd and even values of a list and store the result within a tuple
body: <p>I am trying to solve this function.
  I have to create a tuple with the sum of the even and odd numbers of this list.
  So the output should be (9,12) but my function doesn’t work.
  I do have to use a function</p>
  <pre><code>number_list = [1, 2, 3, 4, 5, 6]
  
  def calculate_odd_even(odd_number, even_number):
      odd_number = 0
      even_number = 0
      t1 = tuple()
      for i in number_list:
          if i % 2 == 0:
              even_number = even_number + number_list[i]
              t1.append(i)
              
          else:
              odd_number = odd_number + number_list[i]
              t1.append(i)
      
      return odd_number
      return even_number
  
  my_tuple = calculate_odd_even(odd_number, even_number)
  </code></pre>