I've been having some problem with python - i'm pretty awful at programming but have been soldiering on with this for some time now! What I need to do is take one list and compare it to another. Both lists are presented in rows, and I need to check each row individually from list 1 against all the rows in list 2.
#List 1 contains data like this: 4 3 1 3 2 1
#List 2 contains data like this: 0, 0800, MON 1, 0830, MON 2, 0900, MON 3, 0930, MON 4, 1000, MON
I want to compare each line of list 1 against all the lines of list 2, so the result should be:
4, 1000, MON 3, 0930, MON 1, 0830, MON 3, 0930, MON 2, 0900, MON 1, 0830, MON
At the end of all this i'll have to put it in with some other data and put it all into a separate .csv for each row.
So far i've imported both sets of data into python but from here i'm a bit stumped.
Could anyone help? I'd be very appreciative!