code from other python books

For Jack/Seven/Helen to learn