Connect Digits by xnor

n=input();l='';b=n%10
while n:a=n%10;l=`range(a,b,1-2*(b<a))or[b]`[1::3]+l;b=a;n/=10
print l

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

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return to the top page