Answered step by step
Verified Expert Solution
Question
1 Approved Answer
## Challenge 3 ########## # Combining what we learned #we've learned a lot over the last few weeks. Let's put that to use #
## Challenge 3 ########## # Combining what we learned #we've learned a lot over the last few weeks. Let's put that to use # Create a code block which consists for a function to average grades #The function should be able to take any number of grades # Caluclate the average of the grades and return it to the main prgram # in the main program use the average returned and test it to determine a letter grade # 90 and up is A, 80 to 89 is a B, 70 to 79 is a C 60 to 69 a D and below 60 is an F. ####### ##HINT, you tested for grades before, right, reuse the code. Code resuse is one of the best ways to #things done quickly |||||| Expected Output given 100, 100,70,60 Your grade averages is 82.5 which is a B || || || ## Challenge 3 code goes here#### ###
Step by Step Solution
★★★★★
3.39 Rating (143 Votes )
There are 3 Steps involved in it
Step: 1
def calculateaveragegrades if not grades ...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