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