📅  最后修改于: 2022-03-11 14:46:59.347000             🧑  作者: Mango
ss='Hello w'
ms='Hello world'
if(ss==ms):
print( 'Both the strings are same')
elif(ms.find(ss)!=-1):
print ('{0} is a substring of {1}'.format(ss,ms))
else:
print ('None')