understanding python by breaking it