In for i in range(4):, i is the loop variable: a variable that the loop sets to 0 the first time, then 1, 2 and 3. It can be used inside the block.
Computer Science · Glossary
Computer Science · Glossary
In for i in range(4):, i is the loop variable: a variable that the loop sets to 0 the first time, then 1, 2 and 3. It can be used inside the block.