結果 : nested loop definition in python