結果 : how to make nested loop in python