Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (10 sloc) 170 Bytes
digits = [10**i for i in xrange(7)]
s = ''
i = 0
while len(s) <= max(digits):
i += 1
s += str(i)
p = 1
for digit in digits:
p *= int(s[digit - 1])
print p
Jump to Line
Something went wrong with that request. Please try again.