結果 : nested loops in python explained