• Fermion@feddit.nl
    link
    fedilink
    arrow-up
    6
    ·
    22 hours ago

    I would also add that usually i will be used inside the code block to index locations within whatever data structures need to be accessed. Keeping track of how many times the loop has run has more utility than just making sure something is repeated 10 times.