What do those statements mean to do? : <p>I was going through a Python script, and I couldn't understand very well this portion of the code. The first part of the code portion are the following declarations:</p>

<pre><code>image_paths = []
image_classes = []
class_id = 0
</code></pre>

<p>Those declarations are clear so far.</p>

<p>Then it enters a for-loop, in which I couldn't understand this part:</p>

<pre><code>image_classes+=[class_id]*len(class_path)
class_id+=1
</code></pre>

<p>What could be the meaning of this code portion?</p>

<p>Thanks.</p>
