Create listwithlength.py

In [35]: %run listwithlength.py
[<class '__main__.ListWithLength'>, <type 'list'>, <type 'object'>]
[1, 2, 3]
3
3
[1, 2, 3, 10]
4
4
[1, 2, 3]
3
3