# Example 1: Routine CABG (No risks)
# Score = 1
cardiac_anesthesia_risk_evaluation(0, 0, 0, 0)
# Example 2: Emergency Surgery
# Regardless of other factors, Emergency = Score 5
cardiac_anesthesia_risk_evaluation(1, 1, 1, 1)
# Example 3: Valve Surgery (Complex) with no other uncontrolled conditions
# Score = 3
cardiac_anesthesia_risk_evaluation(0, 1, 0, 0)
Run the code above in your browser using DataLab