Write a Python program to create a new list dividing two given lists of numbers.
Answers
Answered by
2
Answer:
Given lists
list1 = [12,4,0,24]
list2 = [6,3,8,-3]
# Given lists
print("Given list 1 : " + str(list1))
print("Given list 2 : " + str(list2))
# Use zip
res = [i / j for i, j in zip(list1, list2)]
print(res)
Explanation:
plz follow me
Similar questions