Answered step by step
Verified Expert Solution
Link Copied!

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.
image text in transcribed
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

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_2

Step: 3

blur-text-image_3

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

Relational Database And Transact SQL

Authors: Lucy Scott

1st Edition

1974679985, 978-1974679980

More Books

Students also viewed these Databases questions

Question

1. Diagnose and solve a transfer of training problem.

Answered: 1 week ago