Python: 2 * sum([x for x in range(1, 13)])
Haskell: 2 * sum [1..12]
Python: 2 * sum([x for x in range(1, 13)])
Haskell: 2 * sum [1..12]
GPs example is perfect Python; every character has meaning, and it's extremely readable even for non-programmers.
What’s so challenging about Ruby is how the language can be abused by library vendors to make all kinds of surprising magic and homegrown syntactic sugar.
Honestly, I don't think this has much to do with Ruby. This a consequence of using reduce or any other higher-order functions, which come from functional programming, and are now available in almost all modern multi-paradigm programming languages (including Python and Haskell).
I you like this kind of constructs, you should definitely learn a functional programming language, you'll love it.