Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

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

Database Processing

Authors: David M. Kroenke

12th Edition International Edition

1292023422, 978-1292023427

More Books

Students also viewed these Databases questions

Question

What are Decision Trees?

Answered: 1 week ago

Question

What is meant by the Term Glass Ceiling?

Answered: 1 week ago