Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

Heres a Python program that accomplishes the tasks youve described python Task 1 data 346 258 9 15 7 ... 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

College Algebra With Modeling And Visualization

Authors: Gary Rockswold

6th Edition

0134418042, 978-0134418049

More Books

Students also viewed these Programming questions