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
How does the origin of GOD differ from the origin of other gods?
IgorC [24]

I am a Muslim and I believe that there is only for God "Allah"peace upon him...........

every religion believes on different types of gods some of the religions have many gods.......

6 0
3 years ago
Read 2 more answers
Audiologists and speech language pathologists focus on which of the following
BaLLatris [955]
Audiologist provides services related to the prevention of hearing loss, the assessment, diagnosis and the treatment of people with auditory impairment as well as the preventive measures while Speech language focus on evaluation and treatment of speech and language disorders.
6 0
3 years ago
In some instances, meiosis of a primary spermatocyte with six chromosomes results in to spermatozoa that contains for chromosome
TiliK225 [7]

Answer:

Nondisjunction

Explanation:

Nondisjunction occurs when chromosomes do not align and separate properly prior to the formation of daughter cells, during meiosis I or II. This means that some gametes are missing some chromosomes, and other gametes have extra chromosomes.

This is usually lethal, however, some genetic disorders in humans are caused by chromosome nondisjunction. For example, Down's syndrome is caused when the original gamete has an extra copy of chromosome 21, meaning the individual contains 3 copies of chromosome 21.

4 0
3 years ago
What is the derivative of -cot(2x)?
monitta
Cot(3x) is the answer
5 0
3 years ago
.,kewfehwfrh3ioehgc yrhruewyrhob f
Evgesh-ka [11]
I’m unsure as to if you have a question or not, but to be honest, this message is my mood rn.
7 0
3 years ago
Read 2 more answers
Other questions:
  • The widespread use of computers has led to a national concern over
    6·1 answer
  • The peaceful Acres Retirement Home has a remarkable group of five women (one named Louise) who are more than 90 years old. No tw
    11·1 answer
  • People can withhold their first impression if it suits them.
    10·2 answers
  • A federal tax is paid to 1.1.7 quiz
    7·2 answers
  • The number 3.5is an ____________ number because __________________________________________________
    15·1 answer
  • Refer to the passage.
    7·2 answers
  • What positions in society do you think are most valuable?
    6·1 answer
  • Juana has just been diagnosed with muscular dystropy what is most likely her age
    15·1 answer
  • What societal groups did Christianity appeal to
    6·1 answer
  • programa na ginawa ng pamahalaan upang maisulong ang ating patas na lipunan = nonsense report = ESP NOT AP
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!