题解 | #字符串字符匹配#
字符串字符匹配
https://www.nowcoder.com/practice/22fdeb9610ef426f9505e3ab60164c93
while True: try: S = input() T = input() if set(S) & set(T) == set(S): # 集合的交集 print('true') else: print('false') except: break
字符串字符匹配
https://www.nowcoder.com/practice/22fdeb9610ef426f9505e3ab60164c93
while True: try: S = input() T = input() if set(S) & set(T) == set(S): # 集合的交集 print('true') else: print('false') except: break
相关推荐