to n
37,936位
Usually from math and computer talk: "from 1 to n" means from one up to some number n, which stands for any number. People say it when they explain counting, lists or steps that go up to a limit.
So the loop runs from one to n, and n is however many names are in the list.
Add up every number from 1 to n, and you'll see a pattern pretty fast.
Each item gets a number, zero to n minus one, so the first one is zero.
意味と例文は、100% AI が書くことを目指しています。