結果 : how to nested loop in python