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
yKpoI14uk [10]
3 years ago
6

Write a program that will input a list of test scores in from the keyboard. When the user enters -1, print the average.

Computers and Technology
2 answers:
never [62]3 years ago
7 0

print("Enter the Scores:")

total = []

while True:

   num = int(input())

   if num == -1:

       break

   total.append(num)

print("The average is:",(sum(total)/len(total)))

I wrote my code in python 3.8. Also, you have to be careful about adding -1 to the total. You don't want to count -1 in the average.

aivan3 [116]3 years ago
3 0

Answer: -1 usually represents infinity.

Explanation:

It would keep going forever and not be able to stop without manually stopping it.

You might be interested in
What type of topology gives you a direct connection between two routers so that there is one communication path?
Setler79 [48]

Answer: Point-to-point topology

Explanation:Point-to-point topology is the connection between the nodes in a simple/regular manner by establishing only one path for the communication with each other.The flow that occurs in this type of topology are of two types - bidirectional(two-way)  and unidirectional(one-way) .

Thus the topology for the communication of the routers through a single communication path is done with the help of point-to-point pattern , considering each router as a point/node.

7 0
2 years ago
Which of the following is a disadvantage of using face-to-face communication over other communication channels? A) There is lag
Tems11 [23]

Answer:

Option B is correct.

Explanation:

The drawback to choosing face-to-face contact across certain platforms of interactions is that it is always impracticable to plan a schedule for face-to-face conversation because mostly the time of both participants should not be the same, sometime the one person wait for the other person or the other person wait for 1st one.

  • The following problems occur through the internet, the system configuration or the browsers, application configuration.
  • So, the following are the reasons that describe the other options are not appropriate according to the scenario.
7 0
3 years ago
you have been using snmp on your network for monitoring and management. you are concerned about the security of this configurati
Zinaida [17]

The thing that should be done is to implement version 3 of SNMP.

<h3>How to depict the information?</h3>

In this situation, the person has been using snmp on your network for monitoring and management. you are concerned about the security of this configuration.

Therefore, since the person is concerned about the security of this configuration, the thing that should be done is to implement version 3 of SNMP.

Learn more about configuration on:

brainly.com/question/26084288

#SPJ12

6 0
1 year ago
Why is drafting important in every industry
saul85 [17]

The Writing Process- Drafting and Editing. Writing is a process that involves several distinct steps: prewriting, drafting, revising, editing, and publishing. It is important for a writer to work through each of the steps in order to ensure that he has produced a polished, complete piece.

5 0
3 years ago
Dose anyone know how to change username, grade level, and gender here? I have tried it in the change preferences and it says it
alukav5142 [94]

Answer:no I don’t, sorry

Explanation:

6 0
3 years ago
Read 2 more answers
Other questions:
  • Which of the following is NOT one of the most important elements when designing a website?
    8·2 answers
  • What is tuple and attribute of a relation​
    11·1 answer
  • Instructions:Select the correct answer.
    15·2 answers
  • You can apply several different worksheet themes from which tab?
    10·2 answers
  • State the difference between = and ==
    9·1 answer
  • Assume the availability of a function is_prime. Assume a variable n has been associated with positive integer. Write the stateme
    15·1 answer
  • What is a geam in the ggplot2 system?
    5·1 answer
  • Any action that causes harm to your computer is called a
    15·1 answer
  • "To speed up magnetic hard drive performance , ___________ is often used. "
    15·1 answer
  • What would be the effect if the register contained the following values 10011000
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!