Count in octal: Difference between revisions
Content added Content deleted
(Add Python solution) |
|||
Line 74: | Line 74: | ||
<lang PicoLisp>(for (N 0 T (inc N)) |
<lang PicoLisp>(for (N 0 T (inc N)) |
||
(prinl (oct N)) )</lang> |
(prinl (oct N)) )</lang> |
||
=={{header|Python}}== |
|||
<lang Python>import sys |
|||
for n in xrange(sys.maxint): |
|||
print oct(n)</lang> |
|||
=={{header|Tcl}}== |
=={{header|Tcl}}== |