title: How to convert this for loop in list comprehension?
body: <p>I have a for loop like this:</p>
  
  <pre><code>for i in conversion:
      for f in glob.glob(i):
          print(os.path.getsize(f))
  </code></pre>
  
  <p>I want to convert this into list comprehension:</p>
  
  <p>Tried this:</p>
  
  <pre><code>[os.path.getsize(f) for f in glob.glob(i) for i in conversion]
  </code></pre>
  
  <p>but didn't work. </p>