title: Reportlab - ListFlowable, Generate Listitem from given list of strings
body: <p>This is my first StackOverflow post so I would like to apologize if I have made any markup mistakes or anything similar.</p>
  
  <p>This is the current project I am working on:
  I am developing a Django web application that's responsible for generating audit reports based on dynamic input by the user. The user will have the option to refer a variation of files.</p>
  
  <p>The current issue I am facing is the following:</p>
  
  <p>I would like to generate a bulletlist of static elements given in a list.
  This is the code I have so far.</p>
  
  <pre><code>def generateList(list_of_bullets):
      styles = getSampleStyleSheet()
      t1 = ListFlowable([
           for element in list_of_bullets:
               ListItem(Paragraph(element, styles['Normal']), bulletColor=CMYKColor(0.81,0.45,0.53,0.23), value='circle')
     )], bulletType='bullet', start='circle')
     story.append(t1)
  </code></pre>
  
  <p>PyCharm reports a Expression expected on ListFlowable([ &lt;-</p>
  
  <p>the code below works just fine</p>
  
  <pre><code>def get_bullet_list():
      styles = getSampleStyleSheet()
      t1 = ListFlowable([ListItem(Paragraph("Sample Text", styles['Normal']), bulletColor=CMYKColor(0.81, 0.45, 0.53, 0.23), value='circle')], bulletType='bullet', start='circle')
  </code></pre>
  
  <p>So my question is: Is there any way I can dynamically append ListItems to a ListFlowable?</p>