python:Hardway:Ex35: Branches and functions