Back to task

20 symbols python2
Sun Feb 22 15:22:27 2015 z423x5c6
print(input()-1)%9+1

Nice :D

Sun Feb 22 15:23:07 2015

Thank you :) It is based on a*10^b=a(mod 9) :P

Sun Feb 22 15:26:02 2015


Leave a comment

Parsed as Markdown

Login to leave a comment