I installed the 3.1.2 IDLE python console, then I entered this code:
>>> a = ['a', 'b', 'c', 'd']
>>> len(a)
4
Directly from the python official docs http://docs.python.org/py3k/tutorial/introduction.html#lists
But it does not work in the interpreter as it should, it does not return 4.
What am I doing wrong? Are the official docs wrong?
I've looked in a few other sites but many are talking about Python 2.x.