How to print a linebreak in a python function?
>>> A = ['a1', 'a2', 'a3']>>> B = ['b1', 'b2', 'b3']>>> for x in A: for i in B: print ">" + x + "\n" + i
Outputs:
>a1b1>a1b2>a1b3>a2b1>a2b2>a2b3>a3b1>a3b2>a3b3
Notice that you are using /n
which is not correct!