結果 : how to make nested loops in python