Re: convert to python code

2015-12-23 Thread Steven D'Aprano
On Wed, 23 Dec 2015 03:14 pm, Rodrick Brown wrote: > Tried a few things but can't seem to get it right any help ? > > let times = (...matrices) => > > matrices.reduce( > > ([a,b,c], [d,e,f]) => [a*d + b*e, a*e + b*f, b*e + c*f] > > ); Are you expecting us to guess what language this

Re: convert to python code

2015-12-22 Thread Ben Finney
Rodrick Brown writes: > Tried a few things but can't seem to get it right any help ? To convert it to Python code, you'll need to actually write some code. Please show here in this forum the actual Python code which is not behaving how you want, and say *exactly* what it's doing different from