Can you develop a function in Python to iteratively sum all the numbers in a list of numbers?
[4, 9, 13, 5]
def sum_list(list): 
  total = 0
  for num in list:
    total += num  
  return total

print(sum_list([4, 9, 13, 5])) # Output: 31