Thanks Guessed and macropod for doing up the codes.
Unfortunately they dont work completely. Commas do not show in the results and quotes arent applied to both texts within the brackets.
Both your result are identical after both the codes are run. As you can see there is no comma seperating the text within the brackets and quotes only show at beginning and end of text.
The result from both your codes:
('KAUS AAL'),
('KJFK AAL'),
('KORD AAL'),
('KSAN AAL'),
('CYYZ ACA'),
I would like it to be like this
('KAUS', 'AAL'),
('KJFK', 'AAL'),
('KORD', 'AAL'),
('KSAN', 'AAL'),
('CYYZ', 'ACA'),
|