Question: Having trouble with python! Write a program to build a list of grades, print them out, add to them and count occurrences, and find the

Having trouble with python!

Having trouble with python! Write a program to build a list of

grades, print them out, add to them and count occurrences, and find

Write a program to build a list of grades, print them out, add to them and count occurrences, and find the amount of the 2-digit grade values. Here are the criteria a) Your program L6QI initials.py" must start with a commented ID Box AND include a comment that indicates the e of the program. EACH of the five functions in your program must state its purpose in comments too The main function in your program must be named: test_grades ).It has been provided for you. Copy this function into your program EXACTLY as written: # Main function - Test all of the helper functions def test_grades ): grade-list create-grades (11) print_rows (grade_list) add grade (grade 1ist) print_rows (grade_list) print ("Amount of 2-digit valuescount_grades (grade_list)) As you can see, test_grades calls FOUR helper functions namely: create grades (amount): Create and return a list of amount randomly selected integers between (and including) 0 and 100 print rows (grade list): ng 4 space separated values in each row. The last Print all of qrade list showi row may have fewer than 4 values in it. add_grade (grade_list): Prompt the user for a grade between (and including) 0 and 100 and append it to grade list. Count how many times the grade occurs in grade_list and print out the result. NOTE: Error checking is not required for this input. count_grades (grade_list): Calculate and return the amount of 2-digit grades in grade_list (ie. grades between 10 and99). Assume grade_list will contain at least one value

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!