sum=0 for i in range (N): sum=sum+i+1 print(sum)