fork download
  1. # your code goes here
  2. a=raw_input()
  3. j=0
  4. for i in range(len(a)+1):
  5. print a[j:j+i].join(" ").center(20,' ')
  6. j+=i
  7.  
Success #stdin #stdout 0.01s 8976KB
stdin
Hello
stdout