subject

Write a python program: assignment: a professor at hardtack university has an unusual method of grading. the students may or may not all take the same number of tests. the individual tests are weighted, and these weights are used to compute the student's average. important: the weights for all of the tests for a given student must add to 100. assuming that w1 wn are the weights, and g1 gn are the grades, the average is computed by the formula: ((w1 * g1) + (w2 * g2) + + (wn * gn)) / 100the names of the students and their grades, with weights, are stored in a text file in the format firstname lastname w1 g1 w2 g2 wn gnwrite the program weightedaverage. py. ask the user to enter the name of a file of grades. compute and print each student's average, using the formula given above. then compute and print the class average, an average of the individual averages. format all averages to one decimal place. note the weights for each student will always add up to 100.for example, if the text file contains: billy bother 20 89 30 94 50 82hermione heffalump 40 93 60 97kurt kidd 20 88 30 82 40 76 10 99then the output might look like this: billy bother's average: 87.0hermione heffalump's average: 95.4kurt kidd's average: 82.5class average: 88.3

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 20:50
What does operator overloading allow you to do?
Answers: 2
question
Computers and Technology, 22.06.2019 10:30
Dave has to create animations for a game. which tool can dave use?
Answers: 3
question
Computers and Technology, 23.06.2019 04:31
Cloud computing service providers manage different computing resources based on the services they offer. which resources do iaas and paas providers not manage? iaas providers do not manage the for the client, whereas paas providers usually do not manage the for their clients. iaas- storage server operating system network paas- applications interafce storage vertualiation
Answers: 2
question
Computers and Technology, 23.06.2019 16:50
15: 28read the summary of "an indian's view of indian affairs."15 betterin "an indian's view of indian affairs," it is asserted that conflicts could be reduced if white americansunderstood native americans..pswhich of the following would make this summary more complete? eleo the fact that chief joseph believes the great spirit sees everythinthe fact that chief joseph was born in oregon and is thirty-eight years oldo the fact that chief joseph states that he speaks from the hearthehehethe fact that chief joseph of the nez percé tribe made this claimebell- ==feetle===-felsefe ==submitmark this and retum.=
Answers: 3
You know the right answer?
Write a python program: assignment: a professor at hardtack university has an unusual method of grad...
Questions
question
Mathematics, 22.01.2021 22:00
question
Mathematics, 22.01.2021 22:00
question
Mathematics, 22.01.2021 22:00
question
English, 22.01.2021 22:00
question
Social Studies, 22.01.2021 22:00
question
Mathematics, 22.01.2021 22:00
question
History, 22.01.2021 22:00