Code to calculate the sum of first 10 number

sum=0
for i in range(1,11):
sum+=i

print(sum)

3 Likes

Good going @ruksanaparveen1997

2 Likes