What is the output of the following Python code?
a = [1, 2, 3]
b = [4, 5, 6]
print([x * y for x, y in zip(a, b)])- A[4, 5, 6]
- B[5, 7, 9]
- C[4, 10, 18]
- D[1, 4, 9]
Correct answer: C
What is the output of the following Python code?
a = [1, 2, 3]
b = [4, 5, 6]
print([x * y for x, y in zip(a, b)])