Question: 12. Using Python. Starting from the lists [10, 25, 40] and [1, 15, 20], write a comprehension whose value is the three-element list in which
12. Using Python. Starting from the lists [10, 25, 40] and [1, 15, 20], write a comprehension whose value is the three-element list in which the first element is the sumof 10 and 1, the second is the sum of 25 and 15, and the third is the sum of 40 and 20. Your expression should use zip but not list.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
