Respuesta :

THIS IS FOR PYTHON

total = 0

for i in range(7, 35):

   total += i

   print(i)

print(total)

I forgot the reason but python always stops one number before your desired value. So that's why it's 35

The loop that finds the sum of the numbers between 7 and 34 i2 as follows:

x = 0

for i in range(7, 35):

   x += i

print(x)

   

The code is written in python.

The variable x is initialise with the value zero.

For loop is used to loop through the range of value 7 to 35, excluding 35.

The looped values are then added to the variable x

The final sum is then printed out using the print statements in python.

learn more on loop: https://brainly.com/question/21897044?referrer=searchResults

Ver imagen vintechnology