# Example 1: Favorable Cervix
# 4cm dilated (2), 60% effaced (2), -1 station (2), Soft (2), Anterior (2)
# Score = 10
modified_bishop_score(4, 60, -1, "soft", "anterior")
# Example 2: Unfavorable Cervix
# Closed (0), 30% effaced (0), -3 station (0), Firm (0), Posterior (0)
# Score = 0
modified_bishop_score(0, 30, -3, "firm", "posterior")
Run the code above in your browser using DataLab