python 自帶比較相似度的模組,difflib。比較兩個字串的模組是difflib.SequenceMatcher,使用起來很簡單: import difflib def string_similar(s1, ...
確定! 回上一頁