ShriRam Changed status to publish August 18, 2023
n = int(input(“Enter any Number “))
sum=0
for i in range(1,n+1,1):
sum=sum+i
print(sum)
ShriRam Changed status to publish August 18, 2023
n = int(input(“Enter any Number “))
sum=0
for i in range(1,n+1,1):
sum=sum+i
print(sum)