Loops/Continue: Difference between revisions

Content added Content deleted
(Add new section for Lisaac)
(PowerShell)
Line 392: Line 392:
endfor;
endfor;
</pre>
</pre>

=={{header|PowerShell}}==
{{trans|C}}
<lang powershell>for ($i = 1; $i -le 10; $i++) {
Write-Host -NoNewline $i
if ($i % 5 -eq 0) {
Write-Host
continue
}
Write-Host -NoNewline ", "
}</lang>


=={{header|Python}}==
=={{header|Python}}==