import itertoolsfor c in itertools.chain('ABC','XYZ'): print(c)# your code goes here# your code goes here
Standard input is empty
A B C X Y Z
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!