subject

**Python** Write a program that reads the student information from a tab separated values (tsv) file. The program then creates a text file that records the course grades of the students. Each row of the tsv file contains the Last Name, First Name, Midterm1 score, Midterm2 score, and the Final score of a student. A sample of the student information is provided in StudentInfo. tsv. Assume the number of students is at least 1 and at most 20.The program performs the following tasks:Read the file name of the tsv file from the user. Open the tsv file and read the student information. Compute the average score of each student. Assign a letter grade to each student based on the average score in the following scale:A: 90 =< xB: 80 =< x < 90C: 70 =< x < 80D: 60 =< x < 70F: x < 60Compute the average score of each 3xam. Output the last names, first names, scores, and letter grades of the students into a text file named report. txt. Output one student per row and separate the values with a tab character. Output the average of each score, with two digits after the decimal point, at the end of report. txt. Hint: Use the format specification to set the precision of the output. Ex: If the input of the program is:StudentInfo. tsvand the contents of StudentInfo. tsv are:Barrett Edan 70 45 59Bradshaw Reagan 96 97 88Charlton Caius 73 94 80Mayo Tyrese 88 61 36Stern Brenda 90 86 45the file report. txt should contain:Barrett Edan 70 45 59 FBradshaw Reagan 96 97 88 ACharlton Caius 73 94 80 BMayo Tyrese 88 61 36 DStern Brenda 90 86 45 CAverages: midterm1 83.40, midterm2 76.60, final 61.60

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:40
Gabe wants to move text from one document to another document. he should copy the text, paste the text, and open the new document highlight the text, select the cut command, move to the new document, make sure the cursor is in the correct location, and select the paste command select the save as command, navigate to the new document, and click save highlight the text, open the new document, and press ctrl and v
Answers: 1
question
Computers and Technology, 23.06.2019 02:30
Three out of five seniors remain undecided about a college major at the end of their senior year.
Answers: 3
question
Computers and Technology, 23.06.2019 09:10
Effective character encoding requires standardized code. compatible browsers. common languages. identical operating systems.
Answers: 1
question
Computers and Technology, 23.06.2019 19:40
Use a physical stopwatch to record the length of time it takes to run the program. calculate the difference obtained by calls to the method system.currenttimemillis() just before the start of the algorithm and just after the end of the algorithm. calculate the difference obtained by calls to the method system.currenttimemillis() at the start of the program and at the end of the program so that the elapsed time includes the display of the result. use the value returned by the method system.currenttimemillis() just after the end of the algorithm as the elapsed time.
Answers: 3
You know the right answer?
**Python** Write a program that reads the student information from a tab separated values (tsv) file...
Questions
question
Mathematics, 10.03.2021 17:30
question
Mathematics, 10.03.2021 17:30
question
Mathematics, 10.03.2021 17:30
question
Biology, 10.03.2021 17:30