Question: define a function calculate _ priority ( ) that takes one parameter as the number of project tasks to be completed, and returns the project's

define a function calculate_priority() that takes one parameter as the number of project tasks to be completed, and returns the project's priority. The project's priority is returned as follows:
If the task's count is 20 or less, then the priority is 1.
If the task's count is more than 20 and up to 90, then the priority is 2.
Otherwise, the priority is 3.

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!