I'm trying to write a program to add up number from 1 to n. I've managed to get it to print the numbers several times but not add them all. It keeps on just adding two of the numbers.
My 1st attempt is:
def problem1_3[n]:
my_sum = 0
# replace this pass [a do-nothing] statement with your code
while my_sum