List comprehension equivalent to map on two lists in parallel
|Added at||2016-12-26 00:12|
I understand that with one list argument
can be replaced with
Now how would I do something similar for two parallel lists. In other words, I have a line of code with the following pattern:
How can I do the same thing with a list comprehension?