l='ABABABCC'print (list(l))
Standard input is empty
['A', 'B', 'A', 'B', 'A', 'B', 'C', 'C']
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!