input: def sum_list(list):
      """Fix the bug in the given Python code. The code should correctly sum a list of numbers.
      >>> sum_list([1, 2, 3, 4])
      10
      >>> sum_list([-1, -2, -3, -4])
      -10
      """
      sum_list = 0
      for num in list:
          sum_list += num
      return sum_list
output:     sum_list = 0
      for num in list:
          sum_list += num
      return sum_list