Advertisement
Guest User

Untitled

a guest
Oct 19th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. def xor(x, y):
  2. if x == y:
  3. return 0
  4. elif x != y:
  5. return 1
  6.  
  7.  
  8. c = []
  9. a = list(map(int, input().split()))
  10. b = list(map(int, input().split()))
  11. for i in range(len(a)):
  12. c.append(xor(a[i], b[i]))
  13. print (*c)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement