Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # list_differences.py
- list_a = [1,2,3,4,5,6,7,8]
- list_b = [1,0,3,4,999,6,7,8]
- for z in ['%d ::: %d'%(a,b) for a, b in zip(list_a, list_b) if a != b]:
- print z
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement