题解 | #字符串字符匹配#
字符串字符匹配
http://www.nowcoder.com/practice/22fdeb9610ef426f9505e3ab60164c93
import sys
s=[]
for i in sys.stdin:
s.append(i[0:-1])
re=''
for i in s[0]:
if i not in s[1] :
re='false'
break
else:re='true'
print(re)
s=[]
for i in sys.stdin:
s.append(i[0:-1])
re=''
for i in s[0]:
if i not in s[1] :
re='false'
break
else:re='true'
print(re)
