Python Programs from Book Examples