Use a list comprehension mixed with zip()
:.
[a*b for a,b in zip(lista,listb)]
More Related Contents:
- How to multiply all integers inside list [duplicate]
- Element-wise addition of 2 lists?
- Python list multiplication: [[…]]*3 makes 3 lists which mirror each other when modified [duplicate]
- How can I multiply all items in a list together with Python?
- Multiply operator applied to list(data structure)
- Deleting certain elements in a list [closed]
- Iterating over every two elements in a list [duplicate]
- What are the advantages of NumPy over regular Python lists?
- Remove all occurrences of a value from a list?
- Why can’t I use a list as a dict key in python?
- Iterate through pairs of items in a Python list [duplicate]
- Getting a list of values from a list of dicts
- Interleaving Lists in Python [duplicate]
- Does a slicing operation give me a deep or shallow copy?
- Print LIST of unicode chars without escape characters
- Combining two lists and removing duplicates, without removing duplicates in original list
- Sort a list of lists with a custom compare function
- Get unique values in List of Lists
- What is time complexity of a list to set conversion?
- How to apply __str__ function when printing a list of objects in Python [duplicate]
- Filtering a list based on a list of booleans
- Creating an empty list in Python
- Why does list ask about __len__?
- How to create a fix size list in python?
- Python string.join(list) on object array rather than string array
- Loop through list with both content and index [duplicate]
- In Python, is there an elegant way to print a list in a custom format without explicit looping?
- Python find list lengths in a sublist
- Python: Random numbers into a list
- How to create a nested dictionary from a list in Python?