Sum / Average an attribute of a list of objects

前端 未结 0 1644
时光说笑
时光说笑 2020-12-23 01:18

Lets say I have class C which has attribute a.

What is the best way to get the sum of a from a list of C in Pytho

相关标签:
回答
  • 消灭零回复
提交回复
热议问题