Code Read Method Python Definition Function Math Problem