You are on page 1of 1

input1=str(input1)

input2=str(input2)
a=list(set(input1)^set(input2))
z=0
for i in a:
z=z+ord(i)
c=z%9
if c==0:
print("9")
else:
print(c)

You might also like