Пример #1
0
def pe020():
    """# Find the digit-sum of '100!'"""
    from tools import factorial, digitSum

    return digitSum(factorial(100))
Пример #2
0
def pe016():
    """Find the sum of the digits of the number 2^1000"""
    
    from tools import digitSum

    return digitSum(2**1000)