Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question: (In Python) Assignment Write a program that prints out a student grade report for all students in the 7th grade. Each student is enrolled

Question: (In Python)

Assignment

Write a program that prints out a student grade report for all students in the 7th grade.

Each student is enrolled in all of the classes listed in classes.txt

Each class (see files attached) has the student's ID # and their grade.

Generate a new file called "gradereport.txt" which prints the following output for each student:

Student ID 11012 ---------------- Art A P.E. P Drama B English C ...etc

Student ID 15486 ----------------- Art A P.E. F Drama B- English C ...etc

There are 8 class .txt files associated with this that contain Student IDs and grades. I was wondering what the program structure would be like.

The classes.txt contains:

Art Math English Drama Music P.E. Social Studies

The names of the other 8 text files are: art, drama, english, math, music, pe, and socialstudies. Also, the information in the file is imn the format of studentid,grade.

Here is an example.

11012,A 15486,A+ 18745,B 25489,C 35976,D 48569,F 11244,B+ 14778,C- 56998,A 99885,A

(This is the art.txt file)

Thanks!

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Expert Systems Applications 31st International Conference Dexa 2020 Bratislava Slovakia September 14 17 2020 Proceedings Part 1 Lncs 12391

Authors: Sven Hartmann ,Josef Kung ,Gabriele Kotsis ,A Min Tjoa ,Ismail Khalil

1st Edition

303059002X, 978-3030590024

More Books

Students also viewed these Databases questions