Sum of the digits of n is substring of n: Difference between revisions
Sum of the digits of n is substring of n (view source)
Revision as of 07:14, 17 December 2021
, 2 years ago→{{header|11l}}
Alextretyak (talk | contribs) m (→{{header|11l}}) |
Alextretyak (talk | contribs) |
||
Line 14:
<lang 11l>V count = 0
L(n) 1000
I String(sum(String(n).map(
count++
print(f:‘{n:3}’, end' I count % 8 == 0 {"\n"} E ‘ ’)</lang>
|