Is it possible to concatenate lists in python like this: line 1 from list A with line 1 from list B making a new line without any space between it, line 2 from list A with line 2 from list B, and so on?
Example:
A = ["AAA", "CCC" , "EEE"]
B = ["BBB", "DDD", "FFF"]
So the output would be:
C = ["AAABBB" , "CCCDDD" , "EEEFFF"]
I tried this code:
c = A + B
But I get a different output:
C = ["AAA", "CCC" , "EEE" , "BBB", "DDD", "FFF"]