Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def sum_difference(list1, list2):
- return sum(list1) - sum(list2)
- print(sum_difference([1, 2, 3], [1, 2, 4]))
- print(sum_difference([4, 5], [2, 3, 6]))
- print(sum_difference([1], []))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement