Loops/For with a specified step: Difference between revisions

Content added Content deleted
(Forth)
(Logo)
Line 26: Line 26:
}
}
System.out.println("who do we appreciate?");</lang>
System.out.println("who do we appreciate?");</lang>

=={{header|Logo}}==
<lang logo>
for [i 2 8 2] [type :i type "|, |] print [who do we appreciate?]
</lang>

=={{header|Python}}==
=={{header|Python}}==
<lang python>for i in range(2, 9, 2):
<lang python>for i in range(2, 9, 2):