Skip to content

Instantly share code, notes, and snippets.

View shinsuke-Alex's full-sized avatar

shinsuke-Alex shinsuke-Alex

View GitHub Profile
'''
Description:
Write a program that finds the summation of every number from 1 to num. The number will always be a positive integer greater than 0.
For example:
summation(2) -> 3
1 + 2
summation(8) -> 36