結果 : how to use nested loop in python