$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · easy · #136

What goes in the blank?

# total of a list of numbers
total = ____(nums)

Answer: sum (also accepted: sum, sum())

sum() adds every item of an iterable.
Play Problem Solving ▸