# Example 1: Thalassemia Trait Likely
# MCV 65, RBC 5.5
# Index = 65 / 5.5 = 11.8
mentzer_index(65, 5.5)
# Example 2: Iron Deficiency Likely
# MCV 70, RBC 3.5
# Index = 70 / 3.5 = 20
mentzer_index(70, 3.5)
Run the code above in your browser using DataLab