s1=str(input())
s2=str(input())
if sorted(list(s1))==sorted(list(s2)):
print('yes')
else:
print('no')
第三章 7-22 判断两个字符串是否为变位词
猜你喜欢
转载自blog.csdn.net/qq_33749437/article/details/104889187
今日推荐
周排行