fork download
  1. import itertools
  2. for c in itertools.chain('ABC','XYZ'):
  3. print(c)
  4. # your code goes here
  5. # your code goes here
Success #stdin #stdout 0.1s 14160KB
stdin
Standard input is empty
stdout
A
B
C
X
Y
Z