結果 : how to create a nested loop in python