I found some solutions, but none of them are what I need.
For example:
list1 = [\'a\', \'b\', \'c\'] list2 = [\'a\', \'a\', \'b\', \'c\']