class Yoba: A = [1, 2, 3] B = [4, 5, 6] C = [a + b for a, b in zip(A,B)] print(C)
Standard input is empty
[5, 7, 9]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!