X = 0
end = int(input("Pick a number: "))
for num in range(1, end, 2):
#missing line
print(x)
X 10.
This program should print the sum of all the ODD numbers between 1 and the user's number pick the "end" variable)
Write the missing line that will make that possible.
I think its print(1 + end) but If its wrong can I please have feedback cause I'm struggling with this 1.
This means that every time a number is selected from the range it is added to the value of x.
Answer from: Quest
The steeply sloping region of a continental margin where the sea floor descends at a rate of greater than 1 ft for every 40 feet is called. continental slope.
Answer from: Quest
Answercloud computing;
Another question on Computers and Technology
Computers and Technology, 22.06.2019 01:00
How can a broadcast station be received through cable and satellite systems?
Howard is designing a chair swing ride. the swing ropes are 5 meters long, and in full swing they tilt in an angle of 29Β° outside chairs to be 2.75 m above the ground in full swing.
Which of the following calculates the total from the adjacent cell through the first nonnumeric cell by default, using the sum function in its formula? -average -autosum -counta -max
No commitments. Cancel anytime. All pricing is in US dollars (USD). The subscriptoin renews automaticaly until you cancel. For more information read our Terms of use & Privacy Policy