結果 : define nested loop in python