# Example 1: Mild Exacerbation
# Mild wheeze (0), Moderate work (1), Normal expiration (0)
# Score = 1
pediatric_asthma_severity_score("normal_mild", "moderate", "normal_mild")
# Example 2: Severe Exacerbation
# Severe wheeze (2), Severe work (2), Severe expiration (2)
# Score = 6
pediatric_asthma_severity_score("severe", "severe", "severe")
Run the code above in your browser using DataLab