Sum digits of an integer: Difference between revisions

m
→‎version 2: removed OVERFLOW from PRE html tag.
m (Use wp: link)
m (→‎version 2: removed OVERFLOW from PRE html tag.)
Line 1,447:
return s</lang>
'''output''' when using the default input
<pre>
<pre style="overflow:scroll">
1 is the sum of the digits for the number 1
10 is the sum of the digits for the number 1234