perbandingan array dalam persen

import difflib
pr=difflib.SequenceMatcher(None,array1,array2)
print(pr.ratio())
abdullah