Question: Write a function called school _ transmission _ level that has the percent positivity of diagnostic tests ( postivity ) and the number of new

Write a function called school_transmission_level that has the percent positivity of diagnostic tests (postivity) and the number of new case per 100,000 people (new_cases) as input. The function should return the transmission level as 'low','moderate','substantial',or 'high'. You should notice that you should use the highest transmission level of the two indicators. For example if one indicator is 'low' and the other is 'moderate', the transmission level is moderate. Hint: Convert each indicator into an integer level (0,1,2,3), then return the max() level.

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!