sum = 0
i = 1
while i <= 10:
    sum = sum + i
    i = i + 1
print(sum)

# user input

n = int(input("Enter the number : "))
sum = 0
i = 1
while i <= n:
    sum = sum + i
    i = i + 1
print(sum)

328e29fb11f4f28a350dd93414e0037786bbebe3
<mask token>

<mask token>
while i <= 10:
    sum = sum + i
    i = i + 1
print(sum)
<mask token>
while i <= n:
    sum = sum + i
    i = i + 1
print(sum)

sum = 0
i = 1
while i <= 10:
    sum = sum + i
    i = i + 1
print(sum)
n = int(input('Enter the number : '))
sum = 0
i = 1
while i <= n:
    sum = sum + i
    i = i + 1
print(sum)

sum = 0
i = 1
while i <= 10:
    sum = sum + i
    i = i + 1
print(sum)

# user input

n = int(input("Enter the number : "))
sum = 0
i = 1
while i <= n:
    sum = sum + i
    i = i + 1
print(sum)
