Contents
substract_lists()
Substracts two lists of integers with the same length pointwise.
Example:
>>> substract_lists([1,2,3],[0,1,2]) [1, 1, 1]
list1 (list[int]) – A list of integers.
list
int
list2 (list[int]) – A list of integers.
list[int]
Pointwise substraction of list1 and list2, list1-list2.