I have a nest list:
listSchedule = [[list1], [list2], etc..]]
I have another list and I want to append to each nested list the element of this list if the first element of each matches a string.
I can do it but I wonder if there is a more 'pythonic' way, using list comprehension?
index = 0;
for row in listSchedule:
if row[0] == 'Download':
row[3] = myOtherList[index]
index +=1