Index finite lists of positive integers: Difference between revisions
Index finite lists of positive integers (view source)
Revision as of 06:17, 9 May 2014
, 10 years ago→{{header|Python}}: "out" was not defined. Probably meant "s"
(Go solution) |
(→{{header|Python}}: "out" was not defined. Probably meant "s") |
||
Line 188:
s = ''
while n: s,n = "0123456789a"[n%11] + s, n//11
return map(int,
l = [1, 2, 3, 10, 100, 987654321]
|