You are viewing a single comment's thread. Return to all comments →
Instead of
if len(n)==1:
; it should be
if len(n)==1 and k==1:
Seems like cookies are disabled on this browser, please enable them to open this website
Recursive Digit Sum
You are viewing a single comment's thread. Return to all comments →
Instead of
; it should be