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
When you cross or enter traffic from a full stop, how much space should you allow on city streets? On the highway?
Paul [167]
When stopped at any light or intersection, you should allow any vehicle approaching the equivalent of at least one city block before entering. Also check to see that no approaching vehicle is travelling at an excessive speed (moving ahead of the other traffic). Once you have made a right turn at an intersection, check your rear view mirror quickly. Sometimes you may have to speed up faster than you thought due to a vehicle approaching faster than you originally thought. 
<span>If you stop behind other vehicle in traffic, you should stop so that you can see some road ahead of your vehicle as well as the rear tires of the vehicle ahead of you. This will prevent you from hitting the vehicle ahead of you if you are rear ended.....also check your rear view mirror whenever your foot goes onto the brake......if it is winter, this method will also help prevent you from skidding ......winter driving means you should come off the gas sooner, and brake early and gently and check that rear view mirror! </span>
<span>All the best to you and your driving!</span>
5 0
3 years ago
11. Given the following class
egoroff_w [7]
There are 4 rectangles in the ArrayList shapes. ArrayLists start counting at 0 so when index is 3, dataRecord will be the 4th rectangle. The length and width of the 4th rectangle in shapes are both 4 so the area is 16 and the perimeter is 16. The answer is 3.






5 0
3 years ago
9. Our body cells perform several important functions including: A. Cell metabolism and energy use B. Reproduction and inheritan
Deffense [45]
D. all of these is my answer
5 0
3 years ago
Kristi has been training as a ballet dancer since she was very young. When Kristi’s car is hit by another motorist, she is diagn
suter [353]

Answer:

The Cerebellum is the area of the brain that is also accountable for balance, coordination and vocal expression, among other things, such as receiving signals from the main parts of the central nervous system, such as the spinal cord.

Injury to this section of the brain may be responsible for the difficulty of Kristis to maintain her equilibrium.

Magnetic resonance (MRI) imaging:

Magnetic resonance imaging ( MRI) is one of the instruments or diagnostic equipment used in disease identification, diagnosis and treatment assessment. It features the use of non-invasive technologies in the development of 3d format clear photographs of internal organs such as the brain.

 

Neuroplasticity

This is one of the functions of the neural system of the brain. It has the ability to turn or modify its skills and functions by creating and reorganizing nerve cells in order to compensate for the effects of injuries or diseases.

Children are known to have more Neuroplasticity abilities than adults. If Kristi is still very young, chances are that she will recover with moderate or no treatments at all.

Cheers.

3 0
3 years ago
Eeeeeeeeeeeeeeeeeeeee
VLD [36.1K]

Answer:

eeeeeeeeeeeeeeeeeeee

Explanation:

4 0
3 years ago
Read 2 more answers
Other questions:
  • 134 miles to to inches dimensional analysis
    6·2 answers
  • What is the final step in personal financial planning?
    8·2 answers
  • Which country (or countries) has the “youngest” population, that is, the highest share of population under age 15?
    11·1 answer
  • How to do an experiment without a bias?
    11·1 answer
  • What has a face and two hands, but no arms or legs?
    8·1 answer
  • What is Ericsson’s tone? Why does Ericsson maintain this tone in the<br> Essay?
    15·2 answers
  • HURRY IM ON TEST
    5·1 answer
  • Any cu.te gi.rl here who wanna join me.e t​
    13·2 answers
  • Why were the Articles of Confederation unable to provide stability for the United States?
    5·2 answers
  • Explain at least two factors that contribute to the development of aggression. Include at least one strategy that can be used to
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!