Easy_Flex

Untitled

Feb 29th, 2020
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.26 KB | None | 0 0
  1. def sum_difference(alist, blist):   # function to determine the difference between the sum of integers in two list
  2.     return sum(alist) - sum(blist)   # this returns the difference in the sum of the values of the list
  3.  
  4.  
  5. print(sum_difference([1, 2, 8], [2, 4, 10]))
Add Comment
Please, Sign In to add comment