题解 | #字符串字符匹配#
字符串字符匹配
https://www.nowcoder.com/practice/22fdeb9610ef426f9505e3ab60164c93
while True: try: strings1 = input() strings2 = input() if len(strings1) > len(strings2): strings1, strings2 = strings2, strings1 count_len = 0 for i in strings1: if i in strings2: count_len += 1 if count_len == len(strings1): print('true') else: print('false') except: break