Solve in Python It won't let me send an attached file so I put a screenshot hopefully that shouldn't matter I'll import the txt file myself but could you provide the input needed to complete the lab For this lab, you will write a program that analyzes grades. The file grades.txt contains the student ID number, the section number, and the final letter grade for a course separated by a tab. Your program should calculate the average score for each distinct section. You can convert each letter grade to a number using the following table: • A == 100 • B == 89 • C == 79 • D == 74 • F == 69 Remember, each section needs to have its own separate average.  Provide screenshots of Input and Output

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

 

 

Solve in Python

It won't let me send an attached file so I put a screenshot hopefully that shouldn't matter

I'll import the txt file myself but could you provide the input needed to complete the lab

For this lab, you will write a program that analyzes grades. The file grades.txt
contains the student ID number, the section number, and
the final letter grade for a course separated by a tab. Your program should calculate the
average score for each distinct section.
You can convert each letter grade to a number using the following table:
• A == 100
• B == 89
• C == 79
• D == 74
• F == 69
Remember, each section needs to have its own separate average. 

Provide screenshots of Input and Output

635886
453615
405900
821805
995477
513722
817715
321389
856504
423382
364137
831989
332394
904675
427340
462259
696232
932956
846853
934773
665406
474562
248493
397961
297901
337499
987030
305108
879074
300895
366353
684959
□NM&SANMI5HNM&SAN M
BDUUDBADOFAB FOM♡FAUD DUDBDDBU AFUA
1
2
3
4
1
2
3
4
1
2
3
4
1
2
3
4
5
1
NMFANMASIN
2
3
4
5
1
2
3
4
5
1
2
с
с
А
А
B
B
Α
с
с
с
D
с
А
Transcribed Image Text:635886 453615 405900 821805 995477 513722 817715 321389 856504 423382 364137 831989 332394 904675 427340 462259 696232 932956 846853 934773 665406 474562 248493 397961 297901 337499 987030 305108 879074 300895 366353 684959 □NM&SANMI5HNM&SAN M BDUUDBADOFAB FOM♡FAUD DUDBDDBU AFUA 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 5 1 NMFANMASIN 2 3 4 5 1 2 3 4 5 1 2 с с А А B B Α с с с D с А
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
File Input and Output Operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education