n=10 total = 0 for i in range(0,n+1): total = total+i print(total)