Problem Description
A while ago it was quite cumbersome to create a message for the Short Message Service (SMS) on a mobile phone. This was because you only have nine keys and the alphabet has more...
如 判断str是否包含str_list中的元素
str = "this is string example....wow!!!"
str_list = ['aa','bb','str','ex']
flag = all( i in str for i in str_list) #用any(),或者all()函数判断是否包含,返回值为...