python diffib compare deux chaînes

import difflib
difflib_info = difflib.SequenceMatcher(None, "Python is awesome", "Python is amazing")
print(difflib_info.ratio()) # this prints similarity score 0.7058823529411765
CompSciGeek