Alligation Method Example In Python