a = 1 b = 10 c = 0 i = 0 while i <= b: c += i i += 1 print(c)
n = 10 sum_of_numbers = sum(range(1, n+1)) print(sum_of_numbers)