how to multiply two lists in python

list1 = [1, 2, 3]
list2 = [4, 5, 6]
products = []

for num1, num2 in zip(list1, list2):
	products.append(num1 * num2)


[4, 10, 18]

Here is what the above code is Doing:
1. We have two lists, list1 and list2.
2. We create an empty list called products.
3. We use a for loop to iterate through both lists at the same time.
4. We multiply each element in list1 by the corresponding element in list2.
5. We append the result to our products list.
6. We print the products list.