V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
julyedu
V2EX  ›  推广

[面试题] 请用 Python 编写函数 find_string,从文本中搜索并打印内容,要求支持通配符星号和问号。

  •  
  •   julyedu · 2020-05-12 11:58:13 +08:00 · 879 次点击
    这是一个创建于 1436 天前的主题,其中的信息可能已经有所发展或是发生改变。

    例子:

    find_string('hello\nworld\n','wor') ['wor'] find_string('hello\nworld\n','l*d') ['ld'] find_string('hello\nworld\n','o.') ['or']

    大家需要哪方面的面试题都可以找我哈,好久没来了不知道大家都需要哪些面试题,接下来每天都会免费给大家分享!

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3839 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 00:15 · PVG 08:15 · LAX 17:15 · JFK 20:15
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.