List Comprehension doesn't work when normal for-loop works fine
<p>I have trouble getting my list comprehension statement to work even though the for-loop works correctly. I'm using it to create a table with reportlab's Table class</p>



<pre><code># Service Table
heading = [('Service', 'Price', 'Note')]

# This doesn't work as in there is no row in the output
heading.append([(s['name'],s['price'],s['note']) for s in services])
table = Table(heading)

# This displays the table correctly
for s in services:
    heading.append((s['name'], s['price'], s['note']))
table = Table(heading)
</code></pre>
