Question: Write a program for the following: 1. Define a two-dimensional list object that contains the following data 346 -258 9-15 7-21 893 2. Add

Write a program for the following: 1. Define a two-dimensional list object that contains the following data

Write a program for the following: 1. Define a two-dimensional list object that contains the following data 346 -258 9-15 7-21 893 2. Add values in each row and display 3. Add the values in each column and display 4. Display the third and fourth records (or rows) 5. Display the middle column 6. Define a tuple of tuples using the data in (1) 8. 7. Read the records in the file stdGrades.txt and assign to a two-dimensional list object. Each line contains student's name, all completed courses with number of credits and letter grades Calculate the GPAs of students and assign to a list object. Note that 'A' is 4 points, 'B' is 3 points, 'C' is 2 points, 'D' is 1 point and 'F' is 0 point. GPA is calculated by summing the products of the course credits and grade points and dividing by total credits. 9. Write students' names and GPAS to a file gPAs.txt 10. Calculate and display the overall average GPA

Step by Step Solution

3.34 Rating (145 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Heres a Python program that accomplishes the tasks youve described python Task 1 data 346 258 9 15 7 ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!