第三章 7-22 判断两个字符串是否为变位词

s1=str(input())
s2=str(input())
if sorted(list(s1))==sorted(list(s2)):
    print('yes')
else:
    print('no')
发布了80 篇原创文章 · 获赞 6 · 访问量 7619

猜你喜欢

转载自blog.csdn.net/qq_33749437/article/details/104889187