convert to python code

Steven D'Aprano steve at pearwood.info
Wed Dec 23 06:09:49 EST 2015


On 2015年12月23日 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 is written in, decipher
what it does, and write Python code to do the same thing?
How about if you tell us the language and explain what it does?
-- 
Steven


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /