Digital root by #c0ffee

for(;r=readline();)print('digital_root('+r+')='+(r%9||9)+(r>1e7?r>1e8?'':' ':'  '))

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

download

return to the top page