Posts tagged Reduce

Python Collections

April 29, 2012, 6:41 a.m. Map , Python , Reduce , Ruby

Lists and Arrays. Correct me if I am wrong here but lists in python are what everyone else calls arrays right? Check this out: a = ['spam', 'eggs', 100, 1234] That's an example for a list given in the python docs. But that's how most other languages define an array. Getting an array list slice is ...