Określ, jak 2 ciąg Si równe 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()