| Hosted by CoCalc | Download
Kernel: Python 3 (system-wide)
n=int(input()) c=0 sum=0 while c<=n: sum+=c c+=1 print(sum)
21