网站首页 站内搜索

搜索结果

查询Tags标签: 值作,共有 2条记录
  • python两个字符串有变化值作对比

    1 def replace_star(actual, expect):2 count = 03 for expect_char in expect:4 count += 15 if expect_char == *: # 遍历预期字符串,找到*位置6 actual = actual[:count - 1] + "*" + actual[count:] # 把实际字符串…

    2021/11/29 14:38:11 人评论 次浏览
  • python两个字符串有变化值作对比

    1 def replace_star(actual, expect):2 count = 03 for expect_char in expect:4 count += 15 if expect_char == *: # 遍历预期字符串,找到*位置6 actual = actual[:count - 1] + "*" + actual[count:] # 把实际字符串…

    2021/11/29 14:38:11 人评论 次浏览
扫一扫关注最新编程教程