Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def xor(x, y):
- if x == y:
- return 0
- elif x != y:
- return 1
- c = []
- a = list(map(int, input().split()))
- b = list(map(int, input().split()))
- for i in range(len(a)):
- c.append(xor(a[i], b[i]))
- print (*c)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement