Question: Python Input You are working for the leading course management system. They are working on improving the summary of the grade book. You have been

Python
Input
You are working for the leading course management system. They are working on improving the summary of the grade book. You have been tasked to develop a prototype based on two tuples: gradeItems and grades.
# Input
gradeItems =("Quizzes",.30,6, "Exams", .70,3)
grades =(100,95,100,100,93,95,100,90,80)Grade Items contain the metadata for the grade categories -- this includes the name, the weight toward the final grade, and the number of items in grades. Grades contain the grades for the categories in order based on the metadata.
The above variables can be broken down as follows:
Category Weight Number of Grades
GradesQuizzes30%6100,95,100,100,93,95Exams70%3100,90,80
Assumptions about the data
The grade items and grades will always have correct data and structure.
The number of grades per item can vary.
The number of grade items can vary.
Rules of Engagement
The first three lines of the program should be comments that show: student name, course, and assignment.
There should be three sections with a comment label: Input, Processing, and Output - the code should be beneath the comment.
Input -- code that gathers information from the user.
Processing -- code that uses the input to support the output.
Output -- code that displays the results.
The following data types are allowed: string, integer, float, booleans, tuples, and lists.
Only print statements are allowed in the Output section - each print statement is permitted a single string literal with variables. The variables may be in-line or in a format list. Print statements with expressions are not allowed this includes functions.
You should not be writing any function
Output
#Output
print("Category Weight Average Contribution")
print("---------------------------------------")for i in range(len(gradeOutput)-1): print(gradeOutput[i])
print("---------------------------------------")print(gradeOutput[-1])
The following output above should be used and should not be changed.

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 Finance Questions!