step

Index of the current position inside of a python loop with increments?

Index of the current position inside of a python loop with increments? Question: I’m trying to write an array of values within two nested loops over another ndarray with at the corresponding position. Enumerate does not work, because of the increments. My example-Code does the job, but I’m fairly certain, there are more elegant ways: …

Total answers: 2