Heart Code For Python Example