Count in octal: Difference between revisions
Content deleted Content added
Racket version |
|||
Line 876: | Line 876: | ||
for n in xrange(sys.maxint): |
for n in xrange(sys.maxint): |
||
print oct(n)</lang> |
print oct(n)</lang> |
||
=={{header|Racket}}== |
|||
<lang racket> |
|||
#lang racket |
|||
(for ([i (in-naturals)]) |
|||
(displayln (number->string i 8))) |
|||
</lang> |
|||
=={{header|Retro}}== |
=={{header|Retro}}== |