Code Challenge
Sum of Array
00:00
Easy
Write a function called `sum_array` that takes a list of numbers and returns the sum of all elements. The function should handle empty lists by returning 0.
solution.py