# Example 1: Normal Range
# Neutrophils 4000, Lymphocytes 2000
# NLR = 2.0
neutrophil_lymphocyte_ratio(4000, 2000)
# Example 2: Elevated (Severe Infection/Stress)
# Neutrophils 8000, Lymphocytes 500
# NLR = 16.0
neutrophil_lymphocyte_ratio(8000, 500)
Run the code above in your browser using DataLab