Write a program that will add up the series of numbers: 99,98, 97...3.2.1. The program should print the running total as well as the total at the end.
The program should use one for loop, the range() function and one print() command.
Sample Run
99
197
294
390
-
4940
4944
4947
4949
4950

Answers

Answer 1

Answer:

result = 0

for i in range(99, 0, -1):

   result += i

   print(result)

Explanation:

Answer 2

It gives back a series of numbers that begin at zero, increase by one by default, and end just before the specified number. There are three criteria total, and two of them are optional.

What range() function and one print() command?

For the range() method to produce the integers in reverse order, use a negative step value. For instance, the expression range(5, -,1, -1) will result in the integers 5, 4, 3, 2, and 1.

By setting the step argument of a range() function to -1, you may effectively reverse a loop. Reverse iteration of the for loop's iterations will result.

The range() function returns a series of numbers that, by default, starts at 0 and increments by 1 before stopping in a given number.

Therefore, Instead of being a physical hardware device, a software calculator is one that has been implemented as a computer program.

Learn more about function here:

https://brainly.com/question/18065955

#SPJ5


Related Questions

what is a document you can create with word processing software________?

Answers

Answer:

I think like Microsoft Word, Google Docs/Slides, or maybe other Microsoft writing services.

Explanation:

hope this helps!

Often used in connection with a business
A: fair use
B: copy right
C: public domain
D: commercial use
E: Creative Commons

Answers

Answer:

I would have to say public domain (but i am not sure)

What is the technical term of a native programming language?​

Answers

Native Code Or Machine Language

He made me so angry when he didn’t let me make my point that I had to stalk after him.
a.
follow
c.
stem
b.
shoot
d.
branch

Answers

Answer: follow

Explanation:

Answer: A) follow

Explanation:

Which graphic file format would you choose if you needed to make an animated graphic for a website?

ai

png

gif

py
please help

Answers

Answer:

The answer to this question is given below in the explanation section.

Explanation:

The correct option for this question is gif.

Gif is a series of images that are used as animated graphics for a website. A gif is the file format of an animated image. You may have seen many animated images on websites like stickers etc.

other options are not correct because:

ai: is adobe illustrator file format

png: png is an image file format but not for an animated image

py: py is a file extension of the python file.

Answer:

gif

Explanation:

idk just anwser this and get get some points lol

Answers

Answer:

ok thxxxxx :)

Explanation:

Answer:

thank you

Explanation:

how has input device helped u

Answers

Answer:

Today, input devices are important because they are what allows you to interact with and add new information to a computer. For example, if a computer had no input devices, it could run by itself but there would be no way to change its settings, fix errors, or other various user interactions

Explanation:

Answer: well it allows u to ad new info to your pc/ basically an easier way to transfer from one device to another

Explanation: i would give a better answer but i'm feeling lazy today srry

SOMEONE HELP PLZZZZ!!!!

Answers

Answer:

D

Explanation

LAN = Local Access Network

The IT worker works on networks.

Workbook and worksheet are synonymous, where each workbook will contain only one worksheet

True or false

Answers

False a Brainiest would be appreciated if I’m right
This is a false statement

What is the art of getting your work done through people in a harmonious way?
A.
having good interpersonal skills
B.
having good work ethics
C.
having high self-esteem
D.
having high work efficiency
E.
having conflict resolution skills

Answers

Answer:

A.

having good interpersonal skills

Answer:

it is (A)

Explanation:

Which utility causes the computer to run slow? defragmentation utility OR compression utility?

Answers

Answer:

compression

Explanation:

What Information Technology is Walt Thomas responsible for?

Answers

Proactive designing i think

Answer:   employee productivity and activity management, selling the vast.

Explanation:

does anyone have a pdf of the greatest by eddie van der meer????

Answers

Answer

aight' so im finding it but i have to asnwer before someone else so look in the comments for it.

Explanation:

Just wait i getting it rn

Which of the following is NOT a characteristic developed by New Journalism?
illustrations and photographs
flashy page layouts
satirical news stories
banner headlines

Answers

Explanation:

I think it's d.

Hope this help

So this is not exactly a question but I can’t find the answer anywhere else. Also if you answer this, please do, I will give you brainliest.



What does the blue circle with the i in it mean on EBay?

Answers

Answer: Well, in transit means "in the process of being transported" according to Merriam Webster, so I would think that would mean that it is being shipped from China over to America (Or wherever you may live) currently. Hope this helped!

Explanation:

BRAINLIEST!!!!!!
I nEeD your HeLp​

Answers

Answer:

[tex]option \:1 . \: is \: cd \\ option \:2. \: is \: hard \: disk \: drive \\ primary \: memory \: is \: \: a \: memory \: dirctly \\ \: accessed \: by \: the \: cmp \\ why \: secondary \: is \: not \: directly \: accessed[/tex]

[tex]\boxed{1.)}\;Your\;answer\;is\;indeed\;cd.\\\\\\\boxed{1's\;explanation...\;>See\;Below<}\\\\\\An\;SSS\;device\;is\;a\;Solid-state \;storage \;device.\;It\;collects\;storage.\;Therefore,\;your\\\;answer\;is\;B,\;cd.[/tex]

[tex]\boxed{-----------------------------------}[/tex]

[tex]\boxed{2.)}\;Your \;answer\; is\; HDD.\\\\\\\boxed{2's \;Explanation...}\\\\\\A\;HDD\;is\;a\;drive\;located\;inside\;of\;a\;computer.\;Therefore,\;your\;answer\;is\;B.\\\\\\\boxed{------------------------------------}\\\\\\\boxed{Hope\;it\;helps!}\\\\\\\huge\boxed{Thanks,razorple.}[/tex]

is cheque money? give reason​

Answers

Answer:

Cheque is not money. cheque is a paper instructing the bank to pay a specific amount from the person's account to the person in whose name the cheque has been drawn. The facility of cheque against demand deposits makes it possible to directly settle the payments without the use of withdrawal.

Explanation:

Poems are a kind of persuasive document
Yes or no?

Answers

Answer:

i believe the answer yes because the author wants the audience sympathetic attention.

Answer:False

Explanation:

IT professionals should help to protect users’ personal information, such as bank account information or Social Security numbers, to prevent

A.software piracy.

B.identity theft.

C.moonlighting.

D.corporate espionage.

Answers

Answer:

B

Explanation:

Answer:

b

Explanation:

Which of the following statements are true regarding models? Select 3 options.
Models help you understand a complex situation by including all of the details.
In a model, the general characteristics are separated from the details.
Models help communicate a design.
Models help predict how a specific solution will respond.
Models represent the system or problem at a detailed implementation level.

Answers

Answer:

Models help predict how a specific solution will respond

In a model, the general characteristics are separated from the details

Models help communicate a design

Explanation:

I got 100% and I want to help you

Do the binary numbers 001101 and 00001101 have the same value or different values

Answers

Answer:

Yes, the both have the same value.

Explanation:

This is the answer because:

001101 = 13

00001101 = 13

Hope this helps! :D

I need to finish this assignment today. please help me!

Define: State your Goal What personal value would you like to share with the world?

what does this mean? I don't understand what a personal value is.​

Answers

Answer:

persanal value is the goal

Explanation:

mine would be:

less polution, the value is the goal

Write an if/else statement that adds 1 to the variable minors if the variable age is less than 18, adds 1 to the variable adults if age is 18 through 64 and adds 1 to the variable seniors if age is 65 or older.

if (age < 18) {

minors = minors + 1;

} else if (age > 17 && age < 65) {

adults = adults + 1;

} else {

seniors = seniors + 1;

}

Answers

Answer:

See Explanation

Explanation:

The answer you attached to the question is correct and it does not need any additional input.

However, I'll explain each line for you

This line checks if age is less than 18

if (age < 18) {  

This line increases minors by 1

minors = minors + 1;

}

This line checks if age is between 18 and 64

else if (age > 17 && age < 65) {  

This line increases adult by 1

adults = adults + 1;

}

This line checks if age is greater than 18

else {

This line increases seniors by 1

seniors = seniors + 1;

}

whats the answer to 9? i really need help with this in the next 20 minutes. ty if u help me!

Answers

Answer:

A very precise number B

Explanation:

Hope you pass

A struggle between opposing forces or characters is

Answers

Answer:

Conflicts

Explanation:

The struggle between two opposing forces or characters in a story. Conflicts can exist between two people, between a person and nature or a machine or between a person a whole society. a conflict can be internal, involving opposing forces within a person's mind.

Answer:

Conflict

Explanation: Took the test

true or false Output is a tool with a power system that takes advantage of certain scientific laws that make the tool work better

Answers

Answer: True

Explanation: While digital evidence exploitation is a relatively new tool for law investigation when digital evidence is limited or does not exist. Do with the disappearance and death; searches found some mies; in fact, he was well-liked and often left his home open could take particular advantage, given the more limited poten.

Which phrase best describes a scenario in Excel 2016?

Answers

Answer:

what are the phrases?

Explanation:

What are the simularities between the solar eclipse & lunar eclipse?

Answers

Answer:

An eclipse occurs when one celestial object obscures another celestial object. In the case of a solar eclipse, the moon moves between the Earth and the sun, thus obscuring the sun. A lunar eclipse occurs when the Earth moves directly between the sun and the moon. Either type of eclipse can be total or partial

how dependent are we on technology? ​

Answers

very independent  : ) we use it for everything

What are some ways to enter and edit data in a worksheet? Check all that apply.
right-clicking the cell
zooming in on the cell
selecting the cell
selecting the cell and clicking the formula bar
clicking to select the cell and typing

Answers

Answer:

selecting the cell

selecting the cell, clicking the formula bar

double-clicking the cell

Explanation:

Because I watched a video

Answer:

C). selecting the cell

D). selecting the cell and clicking the formula bar

E). clicking to select the cell and typing

Explanation:

I just did the Instruction on EDGE2022 and it's 200% correct!

Also, heart and rate if you found this answer helpful!! :) (P.S It makes me feel good to know I helped someone today!!)

Other Questions
Algebra I - Pls help - Brainliest for first answer Read this excerpt from "The All-American Slurp."As our family of four sat stiffly in a row, my younger brother and I stole glances at our parents for a clue as to what to do next.What part of the plot is revealed in this excerpt?an introduction to the members of the Lin familya conflict between the narrator and her brothera conflict in which the Lins are treated unkindlya resolution in which the Lins feel comfortabl A plot of land is valued at $18,000.Land tax is charged at the rate of 0.70 per $100. What is the total amount of tax paid for the land? define Hypothermia in a way a elementary kid would understand Who helped Althualpa escape from his half-brother? Why are currency exchange systems important for international trade? Group of answer choicesThey make it more difficult for countries to impose tariffs on foreign goods.They make it more difficult for smugglers to sell foreign goods.They make it easier for countries with different kinds of money to trade with each other.They make it easier for people who speak different languages to trade with each other. 30 grams of ammonia (NH3), nitrite (NO2-), and nitrate (NO3-) are added to a soil sample.Predict whether these concentrations would increase, decrease, or stay the same if nitrite-nitrifying bacteria were added to the sample. At this point Im just going to start singing songs ! For the caption Why is resource management of forest important for economic what is 100,789,388,369,012 times 479,000,000 Are renewable resources always renewable, or can they become non-renewable Review the map.Based on the map, how did the plague most likely spread to India?through the Silk Roadthrough sea trade routesthrough land trade routes in Asiathrough land trade routes from Europe Can someone plz help me ASAP!!!???If u get it correct i will give brainliest. Reread lines 130-141. How does the narrator try to convince readers he sane and reliable? What effect does the narrators explanations have on the reader? When an atom gains or loses electrons, it has an electrical charge. It is known as NEED HELP ASAPWhich battle violated the Pike treaties?A.Battle of Pea RidgeB.Battle of Round MountainC.Battle of Wilson CreekD.Battle of Locust Grove Which relation represents a function?StartSet (0, 0), (2, 3), (2, 5), (6, 6) EndSetStartSet (3, 5), (8, 4), (10, 11), (10, 6) EndSetStartSet (negative 2, 2), (0, 2), (7, 2), (11, 2) EndSetStartSet (13, 2), (13, 3), (13, 4), (13, 5) EndSetABCD What is the pattern in the numbers 2,3,5,7,11,13 What is the distance between (-5, 4) and (-6, 2)? Round your answerto the nearest ten I NEED HELP ASAP!!!!!! * IS MY ANSWER metabolism is a process of breaking down molecules and forming new ones. Where do most of this occur within the cell? A-CYTOPLASM ******B- NUCLEUS C- DNAD- CELL WALL