subject

Consider the following code: start = int(input("Enter the starting number: "))
stop = int(input("Enter the ending number: "))
x = -10
sum = 0
for i in range (start, stop, x):
sum = sum + i
print(sum)
What is output if the user enters 78 then 45?

Please help me !

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 18:40
Johnson enterprises uses a computer to handle its sales invoices. lately, business has been so good that it takes an extra 3 hours per night, plus every third saturday, to keep up with the volume of sales invoices. management is considering updating its computer with a faster model that would eliminate all of the overtime processing.
Answers: 2
question
Computers and Technology, 24.06.2019 04:30
Write and test a python program to find and print the largest number in a set of real (floating point) numbers. the program should first read a single positive integer number from the user, which will be how many numbers to read and search through. after reading in all of the numbers, the largest of the numbers input (not considering the count input) should be printed.
Answers: 1
question
Computers and Technology, 25.06.2019 00:30
How do i take a screenshot on a laptop?
Answers: 2
question
Computers and Technology, 25.06.2019 07:00
What statement would cause polarization
Answers: 1
You know the right answer?
Consider the following code: start = int(input("Enter the starting number: "))
stop = int(inp...
Questions
question
Mathematics, 15.05.2021 02:00
question
Mathematics, 15.05.2021 02:00
question
Spanish, 15.05.2021 02:00
question
Mathematics, 15.05.2021 02:00
question
Mathematics, 15.05.2021 02:00
question
Social Studies, 15.05.2021 02:00
Questions on the website: 13722361