In this challenge, the task is to debug the existing code to successfully execute all provided test files.

Given two strings consisting of digits 0 and 1 only, find the XOR of the two strings.

To know more about XOR Click Here

Debug the given function strings_xor to find the XOR of the two given strings appropriately. 

Note: You can modify at most three lines in the given code and you cannot add or remove lines to the code.

To restore the original code, click on the icon to the right of the language selector.

Input Format

The input consists of two lines. The first line of the input contains the first string, $\boldsymbol{s}$, and the second line contains the second string, $\boldsymbol{\boldsymbol{t}}$.

Constraints

$1\leq|s|\leq10^4$  
$|s|=|t|$

Output Format

Print the string obtained by the XOR of the two input strings in a single line.

Sample Input
10101
00101

Sample Output
10000

Explanation

The XOR of the two strings $\textbf{10101}$ and $\textbf{00101}$ is $1\oplus0,\:\textbf{0}\oplus0,\:\textbf{1}\oplus1,\:\textbf{0}\oplus0,\:\textbf{1}\oplus1=10000$.

Source: hackerrank | Difficulty: EASY


Solutions:
def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res = res + '0'
		else:
			res = res + '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res = res + '0'
		else:
			res = res + '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			print('0', end='')
		else:
			print('1', end='')
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res = res + '0'
		else:
			res = res + '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res = res + '0'
		else:
			res = res + '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res = res + '0'
		else:
			res = res + '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res = res + '0'
		else:
			res = res + '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res = res + '0'
		else:
			res = res + '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res = res + '0'
		else:
			res = res + '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res = res + '0'
		else:
			res = res + '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res = res + '0'
		else:
			res = res + '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if bool(1 - int(s[i]) ^ int(t[i])):
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res = res + '0'
		else:
			res = res + '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res = res + '0'
		else:
			res = res + '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res = res + '0'
		else:
			res = res + '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res = res + '0'
		else:
			res = res + '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res = res + '0'
		else:
			res = res + '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] != t[i]:
			res += '1'
		else:
			res += '0'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res = '%s%d' % (res, 0)
		else:
			res = '%s%d' % (res, 1)
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res = res + '0'
		else:
			res = res + '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res = res + '0'
		else:
			res = res + '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res = res + '0'
		else:
			res = res + '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res = res + '0'
		else:
			res = res + '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))


def strings_xor(s, t):
	res = ''
	for i in range(len(s)):
		if s[i] == t[i]:
			res += '0'
		else:
			res += '1'
	return res
s = input()
t = input()
print(strings_xor(s, t))