[面试题] 请用 Python 编写函数 find_string,从文本中搜索并打印内容,要求支持通配符星号和问号。
資深大佬 : julyedu 3
例子:
find_string(‘hellonworldn’,’wor’) [‘wor’] find_string(‘hellonworldn’,’l*d’) [‘ld’] find_string(‘hellonworldn’,’o.’) [‘or’]
大家需要哪方面的面试题都可以找我哈,好久没来了不知道大家都需要哪些面试题,接下来每天都会免费给大家分享!
大佬有話說 (0)