fork download
  1. # your code goes here
  2. x=lambda (a,b,c),(d,e,f):[b*f-c*e,c*d-a*f,a*e-b*d]
  3. print x((3,1,4),(1,5,9))
Success #stdin #stdout 0.01s 9016KB
stdin
Standard input is empty
stdout
[-11, -23, 14]