Where is total([0,3,6]) being called. I've noticed some of these tasks will call a function it has you write but I'm missing how these functions get called.
This exercise came with the list n=[3, 5, 7]
My function added this list properly, but the error is for a different list that I never defined.
I've noticed this similar behavior a few other times in chapter 12, but I don't remember where, so am I missing something or is this a bug?
EDIT: I just realized that my for loop needs to be...
for i in numbers:
and that worked, I'm still confused how the function gets called, or is code academy doing that for me?