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 21:50
Answer the following questions regarding your system by using the commands listed in this chapter. for each question, write the command you used to obtain the answer. a. what are the total number of inodes in the root filesystem? how many are currently utilized? how many are available for use? b. what filesystems are currently mounted on your system? c. what filesystems are available to be mounted on your system? d. what filesystems will be automatically mounted at boot time?
Answers: 1
question
Computers and Technology, 23.06.2019 05:00
In cell b18, enter a formula to calculate the amount budgeted for meals. this amount is based on the daily meal allowance and the total travel days (# of nights+1).
Answers: 1
question
Computers and Technology, 23.06.2019 23:30
Match the following errors with their definitions. a. #name b. #value c. #ref d. 1. when a formula produces output that is too lengthy to fit in the spreadsheet cell 2. when you enter an invalid cell reference in a formula 3. when you type text in cells that accept numeric data 4. when you type in a cell reference that doesn’t exist
Answers: 1
question
Computers and Technology, 24.06.2019 00:00
Visualizing a game of “tag” to remember the meaning of contagious
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, 25.11.2020 05:10
question
English, 25.11.2020 05:10
question
History, 25.11.2020 05:10
question
English, 25.11.2020 05:10
question
English, 25.11.2020 05:20
Questions on the website: 13722367