Discover a world of knowledge at Westonci.ca, where experts and enthusiasts come together to answer your questions. Get detailed answers to your questions from a community of experts dedicated to providing accurate information. Join our platform to connect with experts ready to provide precise answers to your questions in different areas.
Sagot :
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

Visit us again for up-to-date and reliable answers. We're always ready to assist you with your informational needs. We hope this was helpful. Please come back whenever you need more information or answers to your queries. Keep exploring Westonci.ca for more insightful answers to your questions. We're here to help.