project euler 16:Power digit sum

>>> sum([int(i) for i in str(2**1000)])
1366
>>> 

 

posted on 2016-05-04 14:30  zhourong1104  阅读(157)  评论(0编辑  收藏  举报