Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 4 lines (3 sloc) 0.152 kb
63f393e9 »
2012-03-04 euler20.py made pythonic and conforms to pep8 and pyflakes
1 product = reduce(lambda x, y: x * y, range(1, 101))
2 digits_sum = sum([int(each) for each in str(product)])
3 print "Sum of digits in 100! is", digits_sum
Something went wrong with that request. Please try again.