Advertisement
Guest User

Untitled

a guest
Apr 29th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. x = [13, 5, 6, 2, 5]
  2. y = [5, 2, 5, 13]
  3.  
  4. list = [0]*2010
  5. for i in x:
  6. list[i+1000] = list[i+1000]+1
  7. for i in y:
  8. list[i+1000] = list[i+1000]+1
  9. for i in range(len(list)):
  10. if list[i]%2==1: print i+1000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement