# Example 1: Moderate Croup
# Mild retractions (1), Stridor at rest (2),
#No cyanosis (0), Normal LOC (0), Decreased air entry (1)
# Score = 4
westley_croup_score(1, 2, 0, 0, 1)
# Example 2: Severe Croup
# Severe retractions (3), Stridor at rest (2),
#Agitated cyanosis (4), Normal LOC (0), Decreased air (1)
# Score = 10
westley_croup_score(3, 2, 4, 0, 1)
Run the code above in your browser using DataLab