I am Hack Sparrow
Captain of the Internets.

Python: length or size of list, tuple, array

Let me clarify something at the beginning, by array, you probably mean list in Python. list is the equivalent of arrays in JavaScript or PHP. Arrays in Python is an altogether different thing. Ok, having cleared that, getting the the size of a list or tuple (or array, if you will), is pretty straighforward. You just call the l ...