# Grasshopper - Summation
# https://www.codewars.com/kata/grasshopper-summation

# My code
summation = lambda num: sum(x for x in range(num+1))

# best code
# summation = lambda n: n*(n+1)/2
# summation = lambda n: sum(range(n+1))
