Generator/Exponential: Difference between revisions

Content deleted Content added
→‎{{header|Perl 6}}: add Perl 6 entry
→‎{{header|Perl 6}}: forgot to add output
Line 411: Line 411:


say (@squares without @cubes)[20 ..^ 20+10].join(', ');</lang>
say (@squares without @cubes)[20 ..^ 20+10].join(', ');</lang>

Output:
<pre>529, 576, 625, 676, 784, 841, 900, 961, 1024, 1089</pre>


=={{header|PicoLisp}}==
=={{header|PicoLisp}}==