Factors of an integer: Difference between revisions
no edit summary
(add gw basic) |
Drkameleon (talk | contribs) No edit summary |
||
Line 864:
=={{header|Arturo}}==
<lang rebol>factors: $[num][
select 1..num [x][
(num%x)=0
]
]
{{out}}▼
▲print [factors 36]</lang>
▲{{out}}
▲<pre>#(1 2 3 4 6 9 12 18 36)</pre>
=={{header|AutoHotkey}}==
|