fork download
  1. class Yoba:
  2. A = [1, 2, 3]
  3. B = [4, 5, 6]
  4.  
  5. C = [a + b for a, b in zip(A,B)]
  6. print(C)
Success #stdin #stdout 0.02s 8736KB
stdin
Standard input is empty
stdout
[5, 7, 9]