Difference between Len and Print Len()
<p>I've recently started doing data analysis in Python and since I didn't learn Python from scratch I feel I've missed a few nuances.</p>

<p>One thing I noticed is in one of my reports I had imported a data set from a CSV, put it in as a dictionary, manipulated it and was trying to print the remaining entries.</p>

<p>I used:</p>

<pre><code>len(a)
len(b)
len(c)
</code></pre>

<p>When I did this only one of the numbers was returning and so I spent a significant amount of time debugging my code. In the end I found similar code online and tried to copy its syntax. The change that worked was:</p>

<pre><code>print len(a)
print len(b)
print len(c)
</code></pre>

<p>I'm trying to understand the difference between the two commands. Initial I thought len just printed out a count, but I guess its something different?</p>

<p>Does len only have 'memory' for one count? Why do I need to add print?</p>