Practical exercise & mini lab

Python for Beginners: Build Practical Software Skills with Hospital-Themed Projects
Lesson Content
0% Complete

Practical exercise

Write a queue checker that classifies a fictional hospital waiting count as low, moderate, or high using if, elif, and else.

Real-life example

A hospital operations dashboard uses a rule to label patient flow as low, moderate, or high so staff can respond quickly to busy periods.

Mini lab

Create a script that asks for a fictional number of open support tickets in the IT desk and prints a response based on whether the count is low, medium, or high.