Learn python the hard way ex10, ex11