I have a list of strings in my code;
A = ['a1', 'a2', 'a3' ...]
B = ['b1', 'b2', 'b3' ...]
and I want to print them separated by a linebreak, like this:
>a1
b1
>a2
b2
>a3
b3
I've tried:
print '>' + A + '/n' + B
But /n isn't recognized like a line break.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…