# Example 1: Low Risk
# No risk factors
# Score = 0
revised_cardiac_risk_index(0, 0, 0, 0, 0, 0)
# Example 2: High Risk
# Vascular surgery (+1), Insulin (+1), History of MI (+1)
# Score = 3
revised_cardiac_risk_index(1, 1, 0, 0, 1, 0)
Run the code above in your browser using DataLab