fork download
  1. import operator
  2.  
  3.  
  4. class Yoba:
  5. A = [1, 2, 3]
  6. B = [4, 5, 6]
  7.  
  8. C = list(map(operator.add, A, B))
  9.  
  10. print(Yoba.C)
Success #stdin #stdout 0.02s 8696KB
stdin
Standard input is empty
stdout
[5, 7, 9]