結果 : how to use nested loops in python