python 自带比较相似度的模块,difflib。比较两个字符串的模块是difflib.SequenceMatcher,使用起来很简单:import difflibdef string_similar(s1, ...
確定! 回上一頁