Python bob exercise done.