Python-Quizzes | Python List Quiz | Question 13
Find the output of the following program: C/C++ Code d2 = [1, 2, 3, 4, 5] subtracted = list() for d1, d2 in zip(d1, d2): item = d1 -d2 subtracted.append(item) print(subtracted) (A) [10, 20, 30, 40, 50] (B) [1, 2, 3, 4, 5] (C) [10, 20, 30, 40, 50,-1, -2, -3, -4, -5] (D) 9, 18, 27, 36, 45 Answer: (D)Explanation: The output will be-9, 18, 27, 36, 45 Q