New course! Every coder should learn Generative AI!
Try a free lesson+ 1
How to multiply the values of 2 lists respective of its index values? [Solved]
Detailed explanation of my problem is in the code below 👇 https://code.sololearn.com/c3AnY8gfr7VG/?ref=app
4 Answers
+ 8
https://code.sololearn.com/cb0Qm85umh4A
+ 5
∆BH∆Y
if(len(list1)==len(list2)):
for i in range(len(list1)):
list3.append(list1[i]*list2[i])
print(list3)
+ 2
thank you for the answers David Ashton Abhay
+ 2
Sorry sir, Jan Markus I don't have knowledge of python this much
The code by sir David Ashton was easy to understand 😃