Loop for iterating through two lists is not working
问题 I am trying to use a loop for iterating through two lists. Unfortunately, the second for loop does not work: it only checks the first item within the list, but not with rest. Could you please tell me why? Thanks Lists: low_cars_engines=['Audi', 'Bentley', 'Bugatti', 'Porsche', 'Skoda'] low_planes_engines=['Pratt & Whitney','Rolls-Royce','GE Aviation'] I would like to add two more columns (Cars and Planes) to my original dataset based on if statements: if an object from list 'Engine to check'