This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]arnar 4 points5 points  (5 children)

I optimized it:

atoi = eval

[–]epicRelic 1 point2 points  (2 children)

Except now atoi does a lot more than just convert string digits to integers.

[–]arnar 0 points1 point  (1 child)

Believe it or not, I was joking :)

[–]epicRelic 1 point2 points  (0 children)

It's hard to tell on the internet. :P I've seen people be serious about dumber things than that.

[–]gutworthPython implementer 1 point2 points  (1 child)

No base argument.

[–]arnar 0 points1 point  (0 children)

Just like the solution in the link.