project_euler.problem_013.sol1

Problem 13: https://projecteuler.net/problem=13

Problem Statement: Work out the first ten digits of the sum of the following one-hundred 50-digit numbers.

Functions

solution()

Returns the first ten digits of the sum of the array elements

Module Contents

project_euler.problem_013.sol1.solution()

Returns the first ten digits of the sum of the array elements from the file num.txt

>>> solution()
'5537376230'