結果 : how to nested loops in python