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 11:33, 5 May 2022
, 2 years ago→{{header|Arturo}}
Drkameleon (talk | contribs) (Added Arturo implementation) |
Drkameleon (talk | contribs) |
||
Line 387:
<lang rebol>print select 1..999 'num ->
contains? to :string num
to :string sum digits num</lang>
{{out}}
|