📅  最后修改于: 2022-03-11 14:48:24.039000             🧑  作者: Mango
res = len(set(test_list1) & set(test_list2)) / float(len(set(test_list1) | set(test_list2))) * 100
# printing result
print("Percentage similarity among lists is : " + str(res))