题解 | #字符串字符匹配#
字符串字符匹配
http://www.nowcoder.com/practice/22fdeb9610ef426f9505e3ab60164c93
while True:
try: a,b=str(input()),str(input()) if len(a) > len(b): a,b = b,a flag='true' for i in a: if i not in b: flag='false' print(flag) except: break
字符串字符匹配
http://www.nowcoder.com/practice/22fdeb9610ef426f9505e3ab60164c93
while True:
try: a,b=str(input()),str(input()) if len(a) > len(b): a,b = b,a flag='true' for i in a: if i not in b: flag='false' print(flag) except: break
相关推荐