看板
[ Python ]
討論串[問題] list 比對查找
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
import difflib. a = ['a', 'b', 'c', 'd', 'e', 'f', 'g']. b = ['c', 'd', 'e']. ans = difflib.get_close_matches(a, b, cutoff=0.2). print([a.index(x) for
(還有70個字)
首頁
上一頁
1
下一頁
尾頁