Write a function to give the sum of all the numbers in the list?
def sum(numbers):total = 0 for num in numbers:total+=numprint(''Sum of the numbers: '', total)sum((10, 20, 30, 40, 0, 50))
Skyrocket Your AWS Career: Earn Top Salaries!