結果 : how to make a nested loop in python