human
XOR of two Binary Strings | Function to find the XOR of the two Binary Strings.
Loop to iterate over the Binary Strings.
If the Character matches.
Driver Code"
Solution in Python:
 ... Give me a code to xOR of two Binary Strings and the other steps required?
assistant
#Here is code to xOR of two Binary Strings and the other steps required.
 def xor ( a , b , n ) :
	ans = " "
	for i in range ( n ) :
		if ( a [ i ] == b [ i ] ) :
			ans += "0"
		else :
			ans += "1"
	return ans
if __name__ == " _ _ main _ _ " :
	a = "1010"
	b = "1101"
	n = len ( a )
	c = xor ( a , b , n )
	print ( c )