結果 : how to do a nested for loop in python