fork download
  1. # your code goes here
  2. # your code goes here
  3.  
  4. x = [1,2,3,4,5]
  5.  
  6. y = [3,4,5,6,2]
  7.  
  8. x.sort()
  9. y.sort()
  10.  
  11. s = [a*b for a,b in zip(x,y)]
  12.  
  13. print(sum(s))
  14.  
Success #stdin #stdout 0.06s 14060KB
stdin
Standard input is empty
stdout
70