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
Anika [276]
3 years ago
6

Write a Python program calculate summary statistics about a class assignment. First, prompt the user for the number scores to be

entered. Then prompt for each score, re prompting for values outside the range 0 - 100. Finally, display the minimum, maximum and average scores. There is no need to keep a list of scores, they you may do so if you wish. Use good, meaningful variable names.

Computers and Technology
1 answer:
In-s [12.5K]3 years ago
3 0

Answer:

see explaination

Explanation:

Code:

count = 0 num_of_sub = int(input("Enter a number of subjects : ")) marks_of_subjects = [] for i in range(num_of_sub): count = count + 1 while True: marks = int(input("Enter the marks for subject {} : ".format(count))) if marks < 0 or marks > 100: print("Marks are out of range: Try again") else: marks_of_subjects.append(marks) break Total = sum(marks_of_subjects) Min_marks = min(marks_of_subjects) Max_marks = max(marks_of_subjects) Average_marks = sum(marks_of_subjects)/len(marks_of_subjects) print("Total Marks in the exams are {} Marks".format(Total)) print("Minimum Score in the exam is {} Marks".format(Min_marks)) print("Maximum Score in the exam is {} Marks".format(Max_marks)) print("Average Score in the exam is {:.2f} Marks".format(Average_marks))

see attachment for the screenshot and output

You might be interested in
Which expense is a bank least likely to extend a line of credit for?
m_a_m_a [10]

The answer would be:

A flat-screen TV.

7 0
3 years ago
Read 2 more answers
Design a module named getNumber, which uses a reference parameter variable to accept an Integer argument. The module should prom
Sergeu [11.5K]

Explanation:

Module getNumber (Integer Ref Value)

Display "Display a number"

Input number

End module

Module main ()

Declare Integer number x = 1

Declare Real number y = 2.5

Display( x, " " ,y)

Call changeUS (x,y)

Display( x, " " ,y)

End module

5 0
3 years ago
Steps to log out of an email account ​
Alexxx [7]

Explanation:

Hey there!

While logging out an email remember follwing steps;

  • Go to email and choose account to be removed.
  • Click on manage accounts.
  • Your email will be there, click on it.
  • Then click remove account.

[ You can also go to setting and click on account and then choose google account and click on it and remove it.]

This probably means removing account only but not logging out but works lije that only and when you need it you can again open it, like logging out and logging in.

<em><u>Hope</u></em><em><u> </u></em><em><u>it helps</u></em><em><u>.</u></em><em><u>.</u></em><em><u>.</u></em>

4 0
3 years ago
Read 2 more answers
What profession do you prefer to have in the future? In what way could you make an impact on society using the Internet?
natima [27]

Answer:

lawyer

Explanation:

by helping my society in terms of solving land cases that have been not settled in our history

7 0
3 years ago
What are the names of the components (each shown with a leader and a line) of a circuit shown in the diagram?
Goryan [66]

Answer:

The name of the components of the given labelled circuit is:

The box like figure in the given image is the battery source from where the current drawn into the circuit.

A string connecting positive terminal of battery to the bulb is an electric wire through which current flows in the circuit.

A bubble like object in the circuit is a bulb which lights up when current moves through the circuit.

A component connected to the negative terminal of batter source is a switch.

Then open circuit is an open as the key of the switch is open.

8 0
2 years ago
Other questions:
  • You use a ____ following the closing brace of an array initialization list.
    12·2 answers
  • What are the four primary factors described in the text that set the state for Web 2.0 or the social Web that we enjoy today??
    12·1 answer
  • If you have a charger that’s not from Apple, then could that damaged your iPhone or not?
    5·1 answer
  • You find that you are missing a very important file. After much searching, you have determined that it is no longer on your comp
    13·2 answers
  • To support continuous improvement efforts in the workplace, you increase the number of tasks that an employee performs and have
    7·1 answer
  • The Software Engineering Code of Ethics and Professional Practice was developed by Select one: a. Computer Professionals for Soc
    7·1 answer
  • discuss the benefits of normalization, and do you think we should normalize our designs to higher levels than 3NF? Why or why no
    9·1 answer
  • What feature should be used before a document is printed
    8·1 answer
  • New product ideas must fit into a company's mission statement and?
    12·1 answer
  • 1.<br>is the office industry leader at the moment.​
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!