Jak znaleźć brakujący element na liście
from collections import Counter
target_list = ["one", "two", "three", "four", "five", "one" ]
output_list = ['two','three','four', 'five']
Counter(target_list)-Counter(output_list)
output
Counter({'one': 2})
Hutch Polecat