3b

 avatar
unknown
python
a month ago
175 B
9
Indexable
from difflib import SequenceMatcher

str_1 = input("")
str_2 = input("")


match = SequenceMatcher(None,str_1,str_2)

similarity = match.ratio()

print(similarity)
Leave a Comment