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 one theory of forgetting. (Psychology)
zubka84 [21]

Answer:

Trace decay theory states that forgetting occurs as a result of the automatic decay or fading of the memory trace. Trace decay theory focuses on time and the limited duration of short term memory. This theory suggests short term memory can only hold information for between 15 and 30 seconds unless it is rehearsed.

Explanation:

7 0
2 years ago
Because the Internet breaks down barriers and let people explore areas not traditionally meant it can help
Flauer [41]

Answer:

Destroys bad stereotypes.

Explanation:

Using the Internet and its possibilities, people can surf and learn about different cultures and countries. This helps them destroy bad stereotypes that they had about some countries, not knowing anything about them.

The Internet is useful for expanding people’s knowledge and help people understand foreign behavior and cultural values.

5 0
3 years ago
Day
LiRa [457]

The physiologic factors that affect motility of food in the stomach and small intestines is :

  • The  abnormalities in the muscle.

<h3>What cause stomach motility?</h3>

Genes are known to often play a role in in some cases of gastric motility disorders and it is seen in Hirschsprung's disease, intestinal pseudo-obstruction, and others.

Note that Weak contractions of the small intestine are as a result of the to issues in the muscle and are known to be linked or associated with diseases e.g.  scleroderma.

Note that connective tissue disorders can lead or cause damage to the intestine and as such, the physiologic factors that affect motility of food in the stomach and small intestines is the  abnormalities in the muscle.

Learn more about stomach motility from

brainly.com/question/2738815

#SPJ1

6 0
2 years ago
The primary function of the skin is to
ruslelena [56]
Three main functions are protection regulation and sensation. Protection is primary I️ believe.
4 0
3 years ago
Read 2 more answers
Grade 8 crossword puzzle
Ksju [112]
Pic of the puzzle plz LEL XD
7 0
3 years ago
Other questions:
  • Order the following from earliest to latest and give 1 example of a life event that is common to each stage.
    8·1 answer
  • 1. Since you began learning about psychology, what have you learned about anxiety and mood disorders that you didn’t know before
    15·1 answer
  • Where does wind with miller originate
    13·1 answer
  • In terms of parliamentary procedure what is a motion
    14·1 answer
  • To avoid injury when you're putting an item down, proper technique involves:
    14·2 answers
  • HELP ASAP &gt;&gt;&gt;&gt;&gt; Which is an example of telemedicine?
    11·2 answers
  • How did the Industrial Revolution encourage the practices of “New Imperialism”?
    6·2 answers
  • APES- Does anyone know the correct answer?
    9·1 answer
  • Which sentence has correct capitalization?
    15·1 answer
  • How did the Renaissance influence the Protestant reformation? Be specific.
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!