Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def sum_difference(alist, blist): # function to determine the difference between the sum of integers in two list
- return sum(alist) - sum(blist) # this returns the difference in the sum of the values of the list
- print(sum_difference([1, 2, 8], [2, 4, 10]))
Add Comment
Please, Sign In to add comment