Hi Chris I can't get the code to display the output as it should. I can get it to display like this: 122333444455555 or I can get it to display like this: 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 but not as has been asked in the question. Cheers Diarmuid
Hint:
'a' * 4
'aaaa' -- https://mail.python.org/mailman/listinfo/python-list