hi,
my problem I can't solve:
each of my two lists consists of an ID and runID. The output I need are those elements who are not in list2 and the max Value of runID of each ID.
e.g.
list1 = [('1101', '2'), ('1101', '3'), ('1101', '4'), ('4472', '2'), ('4472', '3'), ('4472', '4'), ('4472', '5'), ('5419', '2')]
list2 = [('1101', '3'), ('4472', '5'), ('5419', '3')]
The correct output should be: ('1101','4')
for element in t5_list:
if element not in zzt_list:
# Check for max value ??
Has anybody an idea how I can solve my problem ??