# 初始化变量来存储总和和计数
sum_of_numbers = 0
count = 1
 
# 使用while循环从1加到10
while count <= 10:
    sum_of_numbers += count
    count += 1
 
# 输出结果
print("The sum of numbers from 1 to 10 is", sum_of_numbers)