subtract list with same length

4 days ago 15
ARTICLE AD BOX

I want to subtract two list with the same length such it returns a list with same length, for example,

a = [1,2,3,4] b = [5,4,3,7] a-b=[1-5,2-4,3-3,4-7]=[-4,-2,0,-3]

is there any method?

Read Entire Article