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, 22.06.2019 19:00
Stacy works as blank. the most important soft skill she needs for this role is blank.
Answers: 3
question
Computers and Technology, 22.06.2019 23:30
The next button in the review section shows the next available comment. next slide with no comment. previous comment. edited comment.
Answers: 1
question
Computers and Technology, 23.06.2019 07:00
Why were most movies from the late 1890s until the early 1930s only filmed in black and white? there were only a few people who could afford the technology to produce color motion pictures back then. audiences did not want color motion pictures until later. the film used to make color motion pictures often overheated, which was a safety hazard, so it was generally not allowed. color films had to be hand-colored, frame by frame.
Answers: 3
question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. which step can possibly increase the severity of an incident? a. separating sensitive data from non-sensitive data b. immediately spreading the news about the incident response plan c. installing new hard disks d. increasing access controls
Answers: 2
You know the right answer?
Write a python program: assignment: a professor at hardtack university has an unusual method of grad...
Questions
question
Mathematics, 25.08.2021 06:10
question
English, 25.08.2021 06:10
question
Mathematics, 25.08.2021 06:10
question
Mathematics, 25.08.2021 06:10
question
Mathematics, 25.08.2021 06:10
question
Mathematics, 25.08.2021 06:10