Digital root Fixed by clock

do input""a
b=a^0
?"digital_root(",a,")=",1+mod(a-1,9)loop

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

download

return to the top page