Ask the user how many numbers for which they want to calculate the sum. Using a for loop, prompt the user to enter that many numbers, one-by-one, keeping track of the sum. At the end, after the user entered all numbers, output the sum.

Create a variable and assign it the value of 0
Prompt the user for how many numbers they have
With a for loop, set it to repeat enough times to get all their values
Prompt the user for a number
Add that number to the variable that started as 0
Output to the user, the sum of all values

Answers

Answer 1

Answer:n = int(input("How many numbers do you want to sum? "))

total = 0

for x in range(n):

  total += int(input("Enter a number: "))

print("Sum: "+str(total))

Explanation:


Related Questions

If the death rate for a country is two for every 1,000 individuals, which of the following total fertility rates would cause a shrinking population?
A) 1.2
B) 2.4
C) 3.5
D) 4.1

Answers

Answer:

A 1.2

Explanation:

Got it right on test

The fertility rate that would cause a shrinking population is found to be lower than the death rate, and this is 1.2. Thus, the correct option for this question is A.

What is Population?

The population may be defined as the group or collection of individuals of the same species living in the same area at a definite time. The size, density, abundance, birth rate, death rate, dispersion, etc. are some of the characteristics of the population. These characteristics are known as demographic factors.

If the fertility rate is greater than the death rate, the population is certainly going to expand. On contrary, if the fertility rate is lower than the death rate, then the population is going to shrink. So, now according to the question, if the death rate for a country is two for every 1,000 individuals, the fertility is generally lower than this if it would cause a shrinking population.

Therefore, the fertility rate that would cause a shrinking population is found to be lower than the death rate, and this is 1.2. Thus, the correct option for this question is A.

To learn more about Fertility and death rates, refer to the link:

https://brainly.com/question/1837097

#SPJ2

The goals of sustainable development include all of the following EXCEPT (5 points)
reducing poverty and disease
protecting workers' rights
slowing population growth
conserving natural resources
narrowing the development gap

Answers

The goal of sustainable development is to balance economic growth with social and environmental considerations. The statement "slowing population growth" is not an accurate representation of the goals of sustainable development. Therefore, the answer is:

C) Slowing population growth.

How were religion and politics connected in the New England colonies?

Answers

They where connected to the history of N-Words

What epoch was characterized by ice ages and adapted animals? A) anthropology b) Holocene c) Pleistocene d) jurassic

Answers

D) Jurassic (I need at least 20 characters)

Which of the following represents abiotic factors? I. Sunlight II. Oxygen III. Plants I and II II and III III only II only

Answers

Answer:

Sunlight and Oxygen are Abiotic factors

Explanation:

This is because Sunlight and Oxygen are not living.

Answer: ||| only

Explanation:

Your in a plane, the airplane crashes, tragically. Where do you bury the survivors? It could be anywhere which included states, landmarks, or even next to the plane!

Answers

Answer:

You dont bury them they are survivors not the dead

Explanation:

should schools have uniforms videos

Answers

yes because it is proper

I need this answer so urgently why is economics a social science? importance of economics.​

Answers

Answer:

social science because it uses scientific methods to build theories that can help explain the behavior of individuals, groups and organization's.

Explanation:

Bandura found that children who witnessed aggressive behavior being punished were far more likely to be aggressive than children who did not.

Answers

Actually, Albert Bandura's research on observational learning and social cognitive theory explored the impact of witnessing aggressive behavior and the subsequent modeling of that behavior. In his famous Bobo doll experiment, Bandura found that children who observed an adult model engaging in aggressive behavior towards a Bobo doll were more likely to imitate that behavior themselves. However, Bandura did not specifically study the effects of punishment on aggression in this particular experiment. His work focused more on the processes of observational learning, reinforcement, and modeling in shaping behavior, including aggressive behavior.

C). What has driven these trends
D). Which type of pesticide has seen the greatest increase in use overtime
E) Why might this be?
2. Why does glyphosate target plants specifically?

C). What has driven these trends D). Which type of pesticide has seen the greatest increase in use overtime

Answers

C) The trends of launching translation campaigns to spread tendentious remarks and misinformation can be driven by various factors.

D) The particular variety of pesticide that has experienced the most significant surge in usage over time could differ based on geographical location and unique context.

What is the glyphosate

In recent times, the controversial use of glyphosate, a commonly adopted pesticide, has attracted significant interest.

Glyphosate is distinguished as a broad-spectrum herbicide which makes it exclusively effective against plants. This prevents the functioning of EPSP synthase, an essential enzyme involved in the synthesis of specific amino acids needed for the development of plants. Glyphosate disrupts the plant's protein synthesis process by interfering with the enzyme responsible for it, ultimately causing the plant to die.

Learn more about glyphosate  from

https://brainly.com/question/30613424

#SPJ1

What are the benefits and challenges of a diverse society?

Answers

A diverse society has many different experiences and cultures. Many good ideas can become of a diverse society in order to bring about positive change and new opportunities for an increasingly different community. Diversity can also have challenges. Many cultures have ideals and beliefs that can prevent successful communication between the different parties.

Why is international trade important for economies around the world?
A. Trade protects countries' domestic industries from foreign
competitors.
B. Trade allows countries to specialize instead of producing all the
goods they need.
C. Trade prevents any one country from establishing an absolute
advantage over others.
D. Trade encourages countries to invest in a huge variety of different
industries

Answers

Answer: (B) Trade allows countries can you specialize instead of producing all the goods they need

Explanation: i got it right

The international trade important for economies around the world because trade allows countries to specialize instead of producing all the goods they need. Thus, option B is correct.

What are trade alliances?

Trade alliances are also called trade agreements. It is a form of agreement that emphasizes the formulation of trade relationships. It is important to mention that trade alliances include both multilateral and bilateral agreements. It can take place between two nations or two states.

Trade alliances effectively allow countries to open up their border so that trade can be carried out without any interruption. Furthermore, it is also a means through which trade restrictions and tariffs can be reduced.

It can be concluded that trade alliances are designed to reduce tariffs and other restrictions on trade, and open borders between countries.

Therefore, The international trade important for economies around the world because trade allows countries to specialize instead of producing all the goods they need. Thus, option B is correct.

Learn more about goods on:

https://brainly.com/question/29426090

#SPJ7

Set and Clothing Design Styles: 1970s and Today
Assignment Overview
While costume, set, lighting, and sound designers all have unique responsibilities in a production, they all work together to bring the director’s vision to life. One of the ways in which this is accomplished is by accurately reflecting a particular time in history.

Assignment Directions
In this assignment you are required to watch an episode of the sitcom The Brady Bunch. You can watch it on Hulu.com or Netflix.com, or obtain a copy on DVD from the local library.

Choose two set items or props (e.g. telephone, stove, carpet, beds, painting) from two different rooms (e.g. kitchen, family room, dining area) that reflect the design style of the 1970s. Then select two items of clothing that reflect the design style of the 1970s.

To find out more about design styles, do web searches for the specific items such as “clothing fashion design 1970s,” “telephone designs 1970s,” or “stove designs 1970s.”

Submission Requirements
In a presentation of 10-12 slides, display images of the 1970s styles you selected. Compare them with images of styles you would use as a costume and set designer for a new The Brady Bunch show set in the 2010s. Be sure to list the sources for the images you use.

In a separate slide, identify the season number, the episode name and number, and the year of the episode you watched. Include a list of references you used to learn more about each of the four set items or props you have selected as reflective of the 1970s style of design.

Answers

For your presentation, you will need to watch an episode of The Brady Bunch, and choose two set items or props and two pieces of clothing that reflect the design style of the 1970s. You can watch the episode on Hulu or Netflix, or obtain a copy from the local library.

To find out more about the design styles of the 1970s, you can do web searches for specific items such as "clothing fashion design 1970s," "telephone designs 1970s," or "stove designs 1970s." Use these searches to gather images of 1970s design styles for your presentation.

Then, compare these 1970s styles with images of styles you would use as a costume and set designer for a new The Brady Bunch show set in the 2010s. Be sure to list the sources for the images you use.

In a separate slide, include the season number, episode name and number, and year of the episode you watched. Also include a list of references you used to learn more about each of the four set items or props you have selected as reflective of the 1970s style of design.

In summary, your presentation should have:

Images of 1970s design styles for the two set items or props and two pieces of clothing you selected.

Images of 2010s design styles for the same set items or props and clothing, to be used as a comparison.

A slide with the episode information and list of references used for research.

Total slides should be around 10-12.

Gigachad

Uday Tahlan

What does Avid mean? Because I am in the Avid class but I do not know what it means

Answers

Answer:having or showing a keen interest in or enthusiasm for something.

Explanation:AVID, an acronym for Advancement Via Individual Determination, is an "untracking" program designed to help underachieving students with high academic potential prepare for entrance to colleges and universities.

What field of study is related to the new and highly adaptive micro-organisms, and concerns the exploration of newly found organisms on this planet as well as burgeoning exoplanet research?
hydrobiology
aerobiology
geomicrobiology
exobiology

Answers

I think it’s C hope that helped

Which choir discussed above has been around the longest. I hate music.

Which choir discussed above has been around the longest. I hate music.
Which choir discussed above has been around the longest. I hate music.

Answers

Answer: Vienna

Explanation:

Pretty sure

Who are the thought police, and how do they maintain control over the citizens of Oceania?

Answers

The “Thought Police” are the secret police of Oceania; All they do is mostly monitor the thoughts if citizens.

Which of the following innovations would be MOST likely to help African farmers?

I. Development of frost-resistant strains of seeds.
II. The invention of grain seeds that grow in hot, arid climates.
III. Introduction of farming methods suited to growing food in limited space.
IV. Development of chemical fertilizers that improve nutrients in the soil.

I and II
I and III
II and III
II and IV
III and IV

Answers

II and IV

explanation : shouldn’t be option I because africa isn’t cold, and i don’t think space is an issue, so therefore II and IV looks like the best choice

Answer: friend me rn

Explanation:

i mean if u want but bts

Solve for measure of ANGLE KNL

Solve for measure of ANGLE KNL

Answers

Jkl= 72
Mlk= 108
Jmk= 36
Mjl= 54
Knl = 90

write a short review or reflection on the songs/plays you have heard

Answers

Answer:

s

Explanation:

s

I love music my favorite artist are Billie, lil darkie, and Dtrivv

Describe the vicious cycle of depressed thinking and the perspectives to understanding depression. In your response, be sure to discuss the statistics, characteristics, biological influences, and social-cognitive perspective.

Answers

Answer:

The cycle of depressed thinking has four steps: 1) stressful experiences 2) negative explanatory style 3) depressed mood and 4) cognitive and behavioral changes. The steps repeat as part of a vicious cycle. Depression changes both thoughts and behaviors. Depression is widespread; as many as 10 percent of Americans suffer from depression, with women suffering at nearly twice the rate as men. Most depression episodes self-terminate, meaning they do not require the intervention of medicine or therapy. Stressful conditions related to work, marriage, and close relationships often precede depression. Depression is striking earlier with each successive generation. Genetics seems to play a role in depression. There is a 30 percent heritability estimate for depression. Other factors, like biological influences, seem to be associated with depression. For instance, diminished brain activity is associated with depression. Norepinephrine levels are lower with depression, and serotonin may play a role as well. Social-cognitive perspectives can play a role in depression as well. Negative thoughts (such as rumination: staying focused on the problem) can contribute to negative moods and can reinforce each other. Also, an explanatory style that includes a negative, stable, and global assessment of the issue can contribute to learned helplessness, a condition in which a person sees no way to change a situation, reinforcing the negativity of thought.

SEP Literature
The following list of terms and characters will be used for both the short-answer
section and the multiple-choice section.
1.The Holocaust
2.Nazi Germany
3.Kindertransport
4. Judaism
5. The Ratcatcher
6. The Pied Piper of Hamelin
7.Auschwitz
8.Passover
9. The Haggadah
10.Survivor' s guilt
11. Li
12.Helga
13. Evelyn
14. Eva
15. Extermination camp
16. Diane Samuels
17. Anne Frank
18. Bergen-Belsen
19. Orphanage
20.Foster home
You should be prepared to write an essay on one of the following prompts from
page 236.
The essay should be at least 150 words in length, should have a beginning, middle and end, and should have at least three paragraphs. You should also make sure that you have a thesis statement.
Choice 1- Write an essay on the presentation of secrets in the play
Choice 2 - Write an essay on the theme of independence in the play.
Choice 3 - Write an essay on the importance of mother-daughter
relationships in the
play.

Answers

Answer:

Mother-daughter relationships are an important theme in plays as they allow playwrights to explore complex emotions and themes. For playwrights with daughters, the mother-daughter play can be a way to come to terms with the mixed emotions that accompany the transition from daughterhood to motherhood. For those writers committed to celebrating matrilineage, the mother-daughter play can lead to mutual liberation and the renewal of bonds based on equality.

In an essay on the importance of mother-daughter relationships in a play, one could argue that these relationships provide a rich source of emotional depth and complexity. They allow playwrights to explore themes such as love, loss, identity, and generational conflict. By portraying the struggles and triumphs of mothers and daughters, plays can shed light on the human condition and help us better understand ourselves and our relationships with others.

Explanation:

Dennis is selling chocoate bars for a fundriaser, and if he sells over $175 worth of candy, he'll win a prize. if chocolates sell for $2.50 a bar, and dennis has already sold $40 worth of candy, then how many more bars does he have to sell in order to win a prize?

Answers

he has to sell 16 more candy’s bars in order to win a prize

In what way did scientists most likely help change the attitudes about dumping pollutants into Lake Washington?

A. scientists tried to convince the citizens that they could live with the water-quality situation.

B. scientists write informative articles about the situation for the local newspaper.

C. scientists tried to take the control of water quality away from the local government

D. scientists kept what they knew about the condition of the lake from the citizens

Answers

Answer:

B. scientists write informative articles about the situation for the local newspaper.

Explanation:

Please mark Brainliest! Hope this helps!

Answer:

B is right

Explanation:

thx to the previous user.

Goood luck yall

This is an international curriculum and examination program modeled on the British pre-college curriculum and "A-Level" exams. College credit, advanced placement, or both may be earned throughout the U.S., depending on the college or university. Advanced International Certificate of Education (AICE) Program Advanced Placement (AP) College Level Examination Program (CLEP) International Baccalaureate (IB)

Answers

Answer:

Advanced International Certificate of Education (AICE) Program.

Explanation:

It was an international curriculum and examination program modeled on the British pre-college curriculum.

Advanced International Certificate of Education (AICE) is an international curriculum and examination program modeled on the British pre-college curriculum and "A-Level" exams. The correct option is A.

What is Advanced International Certificate of Education?

The Advanced International Certificate of Education (AICE) program is a pre-university curriculum and examination system for academically gifted students around the world.

It is a three-year flexible, broad-based curriculum that is taught in schools and colleges all over the world.

The AICE program consists of one-year AS Level classes and two-year A Level classes.

AICE classes can be taken individually or as part of a two-year program that results in an AICE diploma. Some classes can be started at the AS Level and then progressed to the A Level.

Thus, the correct option is A.

For more details regarding AICE, visit:

https://brainly.com/question/12031136

#SPJ5

2
AJ is buying a new car and chooses to pay $250 for upgraded floor mats
because he is already spending $24,000; the $250 is only about 1 percent of the
purchase price. This describes an example of
O relative value because hels comparing the value of the floor mats relative to the value
of the car.
the unseen alternatives of his decision, such as saving money or paying for college.
the best way AJ can spend his money because he is thinking of everything he could do
with his money.
taking into account the opportunity costs of buying the car and making the best
choice.

Answers

The information provided best describes an example of: relative value because he is comparing the value of the floor mats relative to the value of the car.

What is an opportunity cost?

An opportunity cost is also referred to as alternative forgone and it can be defined as the value, profit or benefits that are given up and forfeited by an individual or business firm, in order to choose or acquire something that is deemed most significant over other available choices, at a particular point in time.

In this scenario, we can infer and logically deduce that the information provided best describes an example of relative value because AJ is comparing the value of the floor mats which cost $250, relative (with respect) to the value of the car, which cost $24,000.

Read more on opportunity cost here: brainly.com/question/8846809

#SPJ1

Solve for
x
9
x

8
=
13

Give your answer as an improper fraction in its simplest form.
Solve for
x
9
x

8
=
13

Give your answer as an improper fraction in its simplest form.
Solve for
x
9
x

8
=
13

Give your answer as an improper fraction in its simplest form.
Solve for
x
9
x

8
=
13

Give your answer as an improper fraction in its simplest form.
Solve for
x
9
x

8
=
13

Give your answer as an improper fraction in its simplest form.
Solve for
x
9
x

8
=
13

Give your answer as an improper fraction in its simplest form.
Solve for
x
9
x

8
=
13

Give your answer as an improper fraction in its simplest form.
Solve for
x
9
x

8
=
13

Give your answer as an improper fraction in its simplest form.
Solve for
x
9
x

8
=
13

Give your answer as an improper fraction in its simplest form.
Solve for
x
9
x

8
=
13

Give your answer as an improper fraction in its simplest form.

Answers

Answer:

9x-8 ≥13

9x ≥13+8

9x ≥21

x ≥21 ÷ 9

X ≥ 2.3333

In her Book of Common Sense Etiquette (1962), former first lady Eleanor Roosevelt wrote, "True patriotism springs
from a belief in the dignity of the individual, freedom and equality not only for Americans but for all people on earth,
universal brotherhood and good will, and a constant striving toward the principles and ideals on which this country was
founded. "

Carefully consider Roosevelt’s definition of patriotism. Then write a well-developed essay in which you argue your
position on what it means to be a true patriot.

In your response you should do the following:

Respond to the prompt with a thesis that may establish a line of reasoning.

Explain the relationship between the evidence and your thesis.

Select and use evidence to develop and support your line of reasoning.

Demonstrate an understanding of the rhetorical situation

Answers

Answer:

According to Eleanor Roosevelt, true patriotism is rooted in a belief in the dignity of the individual, freedom and equality for all people, universal brotherhood and good will, and a constant striving toward the principles and ideals on which the United States was founded. In other words, being a true patriot means valuing and upholding the fundamental values that define the American identity.

In my view, being a true patriot means not only embracing these values but also actively working to promote and defend them. It means standing up for what is right, even when it is difficult or unpopular. It means being willing to make sacrifices for the greater good and to put the needs of others before our own. It means being committed to building a better future for ourselves and for future generations.

This definition of patriotism is supported by historical evidence. Throughout American history, true patriots have fought for freedom, equality, and justice. They have stood up against tyranny and oppression, both at home and abroad. They have worked tirelessly to build a more perfect union, one that lives up to the ideals enshrined in our founding documents.

In conclusion, being a true patriot means more than simply waving a flag or singing the national anthem. It means embracing the values that define us as Americans and actively working to promote and defend them. It means standing up for what is right, even when it is difficult or unpopular. And it means being committed to building a better future for ourselves and for future generations.

Explanation:

The complete set of cases from which samples may be drawn is called a(n) A.control condition. B.independent variable. C.case study. D.population. E.survey.

Answers

Answer:

D. Population

Explanation:

Hope this helps lol.

The complete set of cases from which samples may be drawn is called as population. Thus option D is correct.

what is population ?

A population can be defined as complete group of individuals which  comprises a nation or a group of individuals having common characteristic features.

It is a pool of  individuals from which the statistical sample is drawn for a study purpose, so the election of individuals grouped by a common feature which can be called as population.

For, a statistical analysis of a sample of a population must report a standard deviation, or standard error,  so that the results from the entire population can be determined properly.

Thus option D is correct.

For more details regarding population, here

https://brainly.com/question/14417887

#SPJ2

Which equation is equivalent to
25x2 + 10x = 11
• (5x + 1)2 = 11
•(5x + 5)2 = 16
•(5x + 1)2 = 12

Which equation is equivalent to 25x2 + 10x = 11 (5x + 1)2 = 11(5x + 5)2 = 16(5x + 1)2 = 12

Answers

Answer:

Solution given;

2x²+10x=11

• (5x + 1)²= 11

25x²+10x+1=11

25x²+10x=10[not equivalent]

•(5x + 5)²= 16

25x²+50x+25=16[not equivalent]

•(5x + 1)²= 12

•(5x + 1)²= 1225x²+10x+1=12

•(5x + 1)²= 1225x²+10x+1=1225x²+10x=11[equivalent]

25x²+10x=11

Try using completing square

(5x)²+2(5x)(1)+1=11(5x+1)²=10

No

Check B

(5x+5)²=1625x²+50x+25=1625x²+50x=-11

No

Check C

(5x+1)²=125x²+10x+1=125x²+10x=11

Yes

Other Questions
what is the zone of peace Two people living in adjoining states having a land dispute how does the condition address this issue What is the reason artists in our society create spaces for humans? Multiple choice question. To create private spaces hidden from others To allow for interaction in and around the space To explore how structures are affected by human pollution To separate humans from animals Question 1 of 20 What did Cassie do during her date with Mitchell on Day Three? Julie Lane, Sara Miles, and Amber Noll have capital balances of $50,000, $40,000, and Record withdrawal $30,000, respectively. The income ratio is 5:32. Assume Noll withdraws from the partnership on (505) AP December 31 of the current year under each of the following independent conditions: 1. Lane and Miles agree to purchase Noll's equity by paying $17,000 each from their personal as- sets. Each purchaser receives 50% of Noll's equity 2. Miles agrees to purchase all of Noll's equity by paying $35,000 cash from her personal assets. 3. Lane agrees to purchase all of Noll's equity by paying $25,000 cash from her personal assets. Cartoon History of Watergate**Each "Stage" goes with a picture. Each picture has a RED number according to which stage it's used for.**STAGE 1 1. What four figures might be pictured at the top of this cartoon? What might they look like and how might they be dressed?Answer after you have seen the completed cartoon: 2. What message do you think the cartoonist is trying to conveySTAGE 2 3. On whose stationary do you think this letter was written? 4. What three words do you think follow editors of? 5. What might the caption of the cartoon be?STAGE 3 6. What is Nixon holding onto? 7. What key element - that is disrupting the door and furniture - might be missing in the cartoon?Answer after you have seen the completed cartoon: 8. What message do you think the artist intended to convey?STAGE 4 9. What is Nixon holding onto? What do you think Nixon is doing? 10. What is he holding in his mouth, what might be written on it?STAGE 5 11. What caption might accompany this cartoon? 6n - 12 = 3( 2n- 4 ) A patient on mechanical ventilation is experiencing fluctuations in his arterial ph level. which ventilator setting is likely to cause these fluctuations? You and a friend went to Glory Days for dinner. You ordered a cheeseburger for $8.50 and a soda for $1.99. Your friend convinced you to share and split the cost of onion rings that cost $7.00. How much did you spend on your dinner? I NEED HELP ASAP :)))) Based on this passage, why did Hamilton believe the Constitution should be ratified? A. The United States needed a large army to expand into nearby territories. B. The current government of the United States was too weak to defend the country.C. The United States government needed a treasury to buy additional territory from its neighbors. D. The United States needed a stronger government to promote the interests of wealthy Americans. How does the nations changing demographic profile affect the practice of nursing What is the y-interceptof this line?X-10-5 0 5 10 15yl-6-5-4-3|2|1 7 (AddingRationalNumbers)-9+(-4.5) If an airplane and a glider are converging head-on, which aircraft has the right of way? How can you use a melodic contour to help you recognize a songs melody?. if epididymitis is left untreated with men who have gonorrhea, what can occur? HURRYY AND NO WRONG ANSWERS!!! Which of the following is the primary site of energy generated within cells?a. myoglobinb. mitochondriac. glycolytic enzymesd. capillaries HELP ME ILL GIVE BRAINLY Input 50 numbers and then output the average of the negative numbers only. Write in pseudocode!