Odd and square numbers: Difference between revisions
added Arturo
m (→{{header|Wren}}: Wren-trait -> Wren-iterate) |
Drkameleon (talk | contribs) (added Arturo) |
||
Line 58:
121 169 225 289 361 441 529 625 729 841 961
</pre>
=={{header|Arturo}}==
<syntaxhighlight lang="arturo">100..1000 | select => odd?
| select 'x -> zero? (sqrt x) % 1
| print</syntaxhighlight>
{{out}}
<pre>121 169 225 289 361 441 529 625 729 841 961</pre>
=={{header|AWK}}==
<syntaxhighlight lang="awk">
|