"""
Created on Mon Jul 26 17:23:16 2021

@author: <NAME>
"""

def my_sum(x):
    total = 0
    for i in range(x + 1):
        total += i
    return total

"""
Created on Mon Jul 26 17:23:16 2021

@author: <NAME>
"""

def my_sum(x):
    total = 0
    for i in range(x + 1):
        total += i
    return total

Created on Mon Jul 26 17:23:16 2021  @author: <NAME>