結果 : when to use nested loops python