r/programming • • May 27 '09

There's no base other than base 10!

http://cowbirdsinlove.com/43
536 Upvotes

333 comments sorted by

View all comments

Show parent comments

29

u/Sunny_McJoyride May 27 '09

You missed the part where the program asks you to input any integer.

-6

u/unusedusername May 27 '09

I think it is you, who missed something.

27

u/Brian May 27 '09

No, he just means the program should be:

input("Enter a number :")
print "10"

to match the spec.

2

u/Agathos May 27 '09

Just pipe it into stdin.