+ 1

Where is error

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

8th May 2021, 2:55 AM
Downey Dewy
Downey Dewy - avatar
2 odpowiedzi
+ 4
Intendation : N = int(input()) sum=0 for i in range (1,N+1): sum =sum + i print (sum)
8th May 2021, 3:00 AM
Aditya
Aditya - avatar
+ 1
Thanks Vikalp
8th May 2021, 5:33 AM
Downey Dewy
Downey Dewy - avatar