1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
ohaa [14]
2 years ago
5

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 num

bers, 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
Advanced Placement (AP)
1 answer:
prohojiy [21]2 years ago
8 0

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:

You might be interested in
Describe what projective tests are, and then explain how projection is used in the thematic apperception test (TAT) and the Rors
NeTakaya

Answer:

Projective tests are a type of personality test that is designed to have a person react to ambiguous stimuli to potentially reveal hidden emotions that are projected onto the test. In the Rorschach Inkblot Test a person is shown a series of ten black and white cards and asked to report the first thing that comes to mind. The participant then says what came to mind and may project some emotions onto the inkblot that were previous unmentioned. The person administering the test then records aspects of their reactions like gestures and tone of voice. In a thematic apperception test or TAT a person is shown an ambiguous scene and asked to create a story around it. The person can then reveal emotions that they did not previous mention in the story by stating how the characters feel and how the story ends. In a projective test a lot is up for interpretation based on the individual and how they are feeling at that time making the test lack both reliability and validity because of no grading scale being set in stone and results being inconsistent.

Explanation:

I just did this on edge. Brainliest?

3 0
3 years ago
How did monasticism impact Buddhism?
Ann [662]
It impacted Buddhism because they had different beliefs so people were confused.
5 0
2 years ago
Read 2 more answers
What’s true about about osmosis bacteria cell
balandron [24]

Bacteria are bounded by semipermeable cytoplasmic membranes, often including aquaporins. ... The cell wall of Gram-negative bacteria (such as E. coli) is bounded by an outer lipid membrane that includes porins like those of mitochondria. The area between the outer and cytoplasmic membranes is denoted the “periplasm.”

8 0
2 years ago
1) In most political campaigns, candidates promise more than they can deliver. In the USA, Democrats and Republicans promise bet
anygoal [31]
Try you best and look it up 
but also yhu could just do what i do and just look at what it saids and reread it 
5 0
3 years ago
What is prepared piano
8_murik_8 [283]
A prepared piano is a piano that has really good quality and is handmade
7 0
2 years ago
Other questions:
  • Which type of college may require SAT or ACT scores?
    15·1 answer
  • Whoever made me don’t want me; Whoever bought me don’t need me. Whoever use me don’t know me. What am I?
    15·2 answers
  • Hiiiiiiiiiiiiiiihihihihihihihihihihiihih
    7·2 answers
  • When and why did people start living in cities?
    12·1 answer
  • If your hood suddenly flies up , which of the following should you avoid
    6·1 answer
  • PSYCHOLOGY
    8·1 answer
  • 1. Real time strategy games, as a genre, often emphasize spatial immersion
    15·1 answer
  • Why is audience awareness important when writing instructions?
    11·1 answer
  • Explain how John Marshall helped to develop the meaning of the Constitution in Dartmouth College v. Woodward? Please dont steal
    7·2 answers
  • Marie has to assemble a shelf but cannot find her screwdriver. Which of the following
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!