CoCalc Public FilesLab0.ipynbOpen with one click!
Author: Christian Miletello
Views : 49
Compute Environment: Ubuntu 20.04 (Default)
In [2]:
n=int(input()) c=0 sum=0 while c<=n: sum+=c c+=1 print(sum)
21
In [ ]: