import operator f = lambda n: reduce(operator.mul, range(1,n+1))...Read more »
Python’s data model by example
After last post on OOP a logical follow-up is Python’s data model. We use the great Fluent Python book to code up an example of our own, showing the powerful way you can levarage this data model.
There’s no “Python 2” or “Python 3”, the language is same as before. Python 2.x is legacy, Python 3.x is the present and future of the language — Python2 or Python3 This whole debate makes newcomers to run away, it’s confusing, nonsense and ...Read more »