Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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.
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
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