解题思路:
注意事项:
参考代码:
a,b=map(str,input().split())
if len(a)==len(b):
for i in range(0,len(a)):
if a[i]==b[i]:
pass
t=0
else:
print(ord(a[i])-ord(b[i]),end='')
t=1
break
if t==0:
print('0',end='')
else:
for i in range(0,len(a)):
if a[i]==b[i]:
pass
else:
print(ord(a[i])-ord(b[i]),end='')
break
0.0分
0 人评分