input: def fix_bugs_and_sum_list(list):
      """ Fix any bugs in the provided function and return the sum of the numbers in the list.
      >>> fix_bugs_and_sum_list([1, 2, 3])
      6
      >>> fix_bugs_and_sum_list([0, -1, 1])
      0
      """
output:     total = 0
      for num in list:
          total += num
      return total