Skip to content

Commit

Permalink
Merge pull request #78 from dbourdeveloper/1-solution
Browse files Browse the repository at this point in the history
Beginner Problem #1 Solution
the-vampiire authored Oct 8, 2018
2 parents acbd764 + c2628b7 commit f39154c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions beginner/sum-of-all-numbers_david.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
def sum_all(arr):
return sum(arr)+sum(range(min(arr)+1, max(arr)))

0 comments on commit f39154c

Please sign in to comment.