python list subtract another list Posted on 2018-08-09 | In python description: the elements in a list subtract the same index elements in another list code for list substraction in python12345l1 = [1,2,3]l2 = [4,8,3]dif = list(map(lambda x: x[0]-x[1], zip(l1,l2)))# output: # [-3, -6, 0] Post author: killfun Post link: http://search4fan.github.io/post/python_list_minus_list.html Copyright Notice: All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.