word="char"number=range(len(word))sep=' 'for index in number: char=sep*index + word[index] print(char)
Standard input is empty
c h a r
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!