title: python one-liner
body: <p>I want a one-liner solution In Python of the following code but how?</p>
  
  <pre><code>total = 0
  for ob in self.oblist:
      total+=sum(v.amount for v in ob.anoutherob)
  </code></pre>
  
  <p>It returns total value. I want it one liner , plz any one help me</p>