Déterminez comment 2 cordes si égal py
from difflib import SequenceMatcher
def similar(a, b):
return SequenceMatcher(None, a, b).ratio()
Difficult Dormouse
from difflib import SequenceMatcher
def similar(a, b):
return SequenceMatcher(None, a, b).ratio()