Difference of by Kohlrabi

c=raw_input()\x0d
while len(c):print c;c="".join([str(abs(int(x)-int(c[i+1]))) for i,x in enumerate(c[:-1])])

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top