# Example 1: Severe Disability
# Missed work 5, Reduced work 10, Missed home 5, Reduced home 10, Missed social 5
# Score = 35
midas_migraine_score(5, 10, 5, 10, 5)
# Example 2: Little or No Disability
# Missed work 0, Reduced work 2, Missed home 0, Reduced home 1, Missed social 0
# Score = 3
midas_migraine_score(0, 2, 0, 1, 0)
Run the code above in your browser using DataLab