- 1
Pyrhon
N=int (input ()) x=range (1,N+1) s=0 for i in range(x): s+=i print (s)
2 odpowiedzi
+ 2
Hanaly Hanalyyev In ur for loop put only x not the range function because u had already done it in 2nd line
https://code.sololearn.com/c7jaFMyTUfPm/?ref=app
- 1
Where is wrong