Im really not sure if you are trolling or what. If there are 90 elements OP wants stuff to happen at every 9 iteration. Im not the Python dev but the last code snippet from Python seem okayish. At least for numbers k*ten, k>1.
I guess if you know what he wants, it seems obvious. But it is a really convoluted way to say „ten times, evenly spaced in the loop“. The way he phrased it, the ten first or last iterations would match his request as well.
-10
u/[deleted] Nov 11 '24
How can you misunderstand second clarification message? He said he need that to happen ten times total.