Question: i need help with this wuestion. i am using python in my laptop. grader (avg_exams, avg_hw, attendance) Write the function grader that takes two floats;

i need help with this wuestion. i am using python in my laptop.
i need help with this wuestion. i am using python in my

grader (avg_exams, avg_hw, attendance) Write the function "grader" that takes two floats; avg_exams and avg_hw, and one integer attendance as input and returns a bool value. The function will check any student's grade and attendance to decide if the student pass the course or fail. If the student pass, the function returns true, otherwise it returns false. These are the criteria to pass the course: The attendance must be greater than 17 to pass. The avg_exams and the avg_hw must be greater than 70. Either avg_exams or avg_hw must be greater than 80 (or both of them). Example Function Calls grader (76,100,24) returns True grader (100,90,16) returns False grader (72, 78,22) returns False

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!