Loops/For with a specified step: Difference between revisions
Content added Content deleted
(→{{header|Lang5}}: add.) |
(Add Racket example) |
||
Line 675: | Line 675: | ||
} |
} |
||
cat("who do we appreciate?\n")</lang> |
cat("who do we appreciate?\n")</lang> |
||
=={{header|Racket}}== |
|||
<lang racket> |
|||
#lang racket |
|||
(for ([i (in-range 2 9 2)]) |
|||
(printf "~a, " i)) |
|||
(printf "who do we appreciate?~n") |
|||
</lang> |
|||
=={{header|REBOL}}== |
=={{header|REBOL}}== |