Method Python Definition Function Algebra 3