Difference of by recursive

v=map(int,raw_input())
while v:print`v`[1::3];v=[abs(a-b)for a,b in zip(v,v[1:])]

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

download

return to the top page