Answered step by step
Verified Expert Solution
Question
1 Approved Answer
def main(): # Initialize lists grades = [0] * 7 students ['Jose', 'Adriana', 'Omar', 'Ray', 'Hotavya', 'Monica', 'Mohammad') for i in range(7): # add your
def main(): # Initialize lists grades = [0] * 7 students ['Jose', 'Adriana', 'Omar', 'Ray', 'Hotavya', 'Monica', 'Mohammad') for i in range(7): # add your code here. # prompt the user to enter the grades # check the sample run for clarification. ## add your code here # sum the grades and find the average # add your code here ## Display the average with 2 decimal digits. # Call the main function. main() ##please enter Jose's grade: 100 ##please enter Adriana's grade: 50 ##please enter Omar's grade: 90 ##please enter Ray's grade: 60 ##please enter Hotavya's grade: 80 ##please enter Monica's grade: 70 ##please enter Mohammad's grade: 95 ##The average is 77.86
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started