結果 : how to do nested loops in python