What it means "TypeError: 'list' object is not callable"?
1) For example, how can I extract the divisors < 10 from the list divisors(n) ? I try to create a def with S=sum(d(i)) , d(i) verifying d(i)<10, but I get that TypeError
2) More generally, how can I do sum(d(i) with condition d(i)<10) ?
3) Where can I find a reference document for SAGE and an elementary tutorial?
Thanks
I do not see the link between the title of the post and the three questions above...
You are right, I forgot to make clear that I had that error text because I was looking for a conditioned sum. Anyway the given answer guessed what I was meaning. Sorry
Then, it would be helpful for other people looking for help if you change the title.