Skip to main content
added 9 characters in body
Source Link

Python 3.2 (69)

sum((int(j)*4**(4*i)) for i,j in enumerate(input().split('.')[::-1]))

Python 3.2, 69 chars long.

sum((int(j)*4**(4*i)) for i,j in enumerate(input().split('.')[::-1]))

Python 3.2, 69 chars long.

Python 3.2 (69)

sum((int(j)*4**(4*i)) for i,j in enumerate(input().split('.')[::-1]))
Source Link

sum((int(j)*4**(4*i)) for i,j in enumerate(input().split('.')[::-1]))

Python 3.2, 69 chars long.