Question: A simple python code Problem Statement: An inefficient student repository In this lab, you will be building a simple software application that finds the highest
A simple python code

Problem Statement: An inefficient student repository In this lab, you will be building a simple software application that finds the highest cgpa from a list of students as given by the user and then displays the average cgpa for the course. The purpose of the assignment is to gain experience with for loop and list manipulation. C. Lab Procedure: 1. The program initializes two lists: names and cgpas 2. The program asks for name and cgp of a student using one input statement. User will enter the information separated by comma. a. Separate the name and cgpa from the input. Hint: input assume everything as string. how to convert a string to a list of information? b. Add the name and cgpa to names and cgpas list. cgpa in index i in cgpas list belongs to the name of index i in names list. For example: in the sample 1/0 Bonney M has a CGPA of 3.12. Both are in index position of 2. 3. Step 1 and 2 repeats as long as user wants to continue entering the information. 4. The program will then find the maximum cgpa and maximum cgpa index from the cgpas list. Helpful code: Week 5 video lecture: 5.7 Use case-find largest number from a list. 5. Print the names and cgpas list. 6. Use the maximum cgpa index to obtain the name of the student whose score is the highest 7. Report the average cgpa of the course from the cgpas list. Sample 10:
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
