Respuesta :

Answer:

Code:

 

range_sum = 0  

for x in range(20, 100, 10):  

   range_sum += x

    print(range_sum)

Explanation:

Declare variable (we'll use it to keep track of the sum):

range_sum = 0

Start a loop with the range function (x is the current number, 20, 100 are the numbers to start and stop by and 10 is the number to increase by):

for x in range(20, 100, 10):

Add the current number to the sum and print it:

range_sum += x  

print(range_sum)