main.py175 chars7 linesWe define a function called sum_list that takes in numbers as input, which is a list of numbers. sum function is then used to calculate the total sum of the numbers in the list. Finally, the sum is returned as output.
gistlibby LogSnag