Tell us what’s happening:
numbers = [5, 10, 15, 20]
total = sum(numbers, 10) # positional argument
print(total) # 60
Why is the total 60 and not 45 if the start value is 10?
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36 Edg/144.0.0.0
Challenge Information:
Working with Loops and Sequences - What Are List Comprehensions and What Are Some Useful Functions to Work With Lists?