While 循环

current_number = 1
while current_number <= 5:
    print(current_number)
    current_num += 1
sum = 0
n = 1
while n <= 5:
    sum += n
    n += 1
print(sum)